break ups suck

does anyone have any tips my bf and I broke up like a month ago and I didn't want to but he didn't like me the same way any more after 9 months and I knew it was the right thing to do because he wasn't treating me with as much respect as he used to but it fucking sucks. we go to the same school and I still see him everyday which makes it worse. It's really hard. Idk what to do because sometimes I'm over it but we have the same friend group so I'll see pics of him they post sometimes and it's like a switch flips on and I get all sad again. And I know he's not this upset about me which sucks even more but I'm just feeling really alone and I thought I'd be over it by now. Any tips to cope would be appreciated thanks (: