Something you might try is to take small steps into the social life. For instance tonights party. Just stop by for a short period of time say an hour. In that hour make it a goal to talk to 2 or 3 people and then leave. People will stop inviting you if you never show up.
Stop beating yourself up. Quit saying your a nerd or that your stupid for wasting your time.