How to survive a break up

My boyfriend of 3 and 1/2 years broke up with me a month ago. I’m starting to realize it was for the better. I need someone who wants to be around me as much as I want to be around them. He wasn’t ready to settle down after I graduated college and I was and apparently I gave him too much attention.

My question is, when is it okay to move on and talk to other guys? I’m not ready to be in another relationship but I’m kind of lonely without my (ex) boyfriend to talk to all the time.