Sorry to hear about you car as that really sucks and I would know, I have written off quite a few, including one that was only 35 days old..
Having said that, get a grip. It is just a car. They are like women, they come - they go. I hope you had insurance because it is there for a reason. Now have your nap and then get up an decide how you are going to move on.