How were you guys able to get over your ex?

I’m still so sad over my ex. It’s been 10 months since he broke up with me. I think I’m so attached because we were each other’s first and I’m still so young. I’m in high school btw. So please tell me how you were able to feel okay again. I really need help 😭

He recently just started trying to have small talk with me but I keep myself distant and don’t really talk to him. He acts like nothing happened