First Heart Break Advice?

I just went through my first heart break as a freshman in high school— my boyfriend’s parents caught us sexting and swore to me that if I ever contacted their son again they’d “press charges against me”.

It’s been a month, I’m started to feel better and today I even told him that it’s best we part ways (he’s been trying to contact me and I was blowing him off).

Unfortunately, I started my period today also and I regret everything. I know that I was right to tell him to stop talking to me, but a part of me keeps seeing all these Instagram posts of girls with their boyfriends and I miss having someone like that. I see the faults with my first relationship, but I miss him and how it was when things were okay.

I know after this week I won’t be so upset over this guy, but I don’t know how I’m going to get through a week of me moping around over some boy and probably pushing myself on some other guys. Is there something wrong with me?