How to get over a breakup

So I broke up with my boyfriend

We weren’t together for along time but the feelings grew quick and I was falling in love with him but I couldn’t be with him anymore

Part of me feels perfectly fine like fuck Him i don’t care I’m a bad Bitch 75% of the time when I’m around people or feeling energetic I’m good but the second I slow down I start to drown in sadness

I don’t want to feel like this because I know he isn’t

Can anyone tell me how to move on a stop feeling like this