The right ideas will slowly come to you, but getting some perspective is essential and that's not going to come from sitting in your apartment staring at your laptop. The two things I suggest are:
* Exercise. Mens sana in corpore sano. Lift some weights. Run, cycle. Anything. Be yourself, only better (as seen on a t-shirt). You will not believe how much regular exercise will change your state of mind.
* Travel. Get out of town. Get out of your hole. Get some perspective. Even if you just go to stay with some relatives in another city for a few weeks. If you can afford the flights, go somewhere warm and cheap and bask in the sun like a lizard. Meet some strangers. Make friends. Talk to girls. Read, eat, drink.
I wish you the best of luck, and please let us know how you get on.
Edit: I also really, really recommend reading Siddhartha by Herman Hesse. It will definitely help shape your thoughts, and it's a very quick read.