What to do right after a break up?

Me and my boyfriend of 3 years just broke up like an hour ago. I'm so tired of crying and feeling sad while he's with his friends at the bar probably not even thinking about me. What should I do?