My boyfriend of almost a year suddenly broke up with me.

I don't know what to do. I'm so sad. We've been fighting lately because he lied to me about his past a few months ago and hates when I ask questions. I woke up this morning and suddenly he was done with me. I've brought up my concerns to him and it was suddenly all turned around on me even though my issues and reasons for being annoying all stem from him giving me trust issues in the first place. This was my first real relationship and he seems like he just wanted the upper hand because he deleted me and unfollowed me on social media and I couldn't even explain myself to him. It was basically just a done deal and I'm so sad and heartbroken that he had the audacity to put it on me and not even give me a chance to explain. I feel so stupid. He's the first person I ever loved. We are 21/22.