Ohh I've been there. Not fun at all. What made me snap out of it was knowing I wasn't going to get the guy either way. So I can sit around feeling sorry for myself or get my tush off the couch and get back op and to the gym. Pick myself up is what I did. It wasn't easy and was harder than starting to begin with, but it was the best decision I've made yet. Hope this helps!
And remember, you're not alone. There is a fantastic group of people here who may share similar experiences and all have a common goal. Good luck and I know you can do this!