Breakups hurt, even when they are the right decision. You can't skip that part, but you can avoid making it worse.
Give yourself space
Stop checking their social media. Mute or unfollow if you need to. Every look reopens the wound and delays recovery.
Keep the basics in place
Sleep, eat decent food, move your body, and see friends. These things feel small, but they hold up everything else in hard weeks.
Talk to someone
Call a friend rather than sitting with it alone. Men are often taught to tough it out, but silence usually makes things heavier. If low mood lasts or you ever think about harming yourself, contact a doctor, therapist, or local crisis line right away.
Don't rush into something new
Dating can be a distraction, but using someone to feel better isn't fair to either of you. Wait until you are curious about a new person, not only escaping the old one.
Take the useful lesson
When the sting fades, ask what you would do differently and what you need next time. Keep the lesson and let go of the blame.