How can I boost my confidence after a bad break-up?

I recently suffered a bad break-up with this guy. He was perfect, and i loved him very much. I’m very depressed, and i feel really needy.
Can someone give me some tips on how i can boost my confidence back up so i can get back into [...]