How do I get over a heart brake? 😭

I was with him for 1 year... he broke up with me on my birthday. I miss him so so so much everything was perfect. Then I got mad and said things I shouldn't have said. And now its biting me in the ass because I'm trying to fix it and he's punishing me and not talking to me. I want him back I asked him if he wanted me to move on. He doesn't say anything. My heart is broken and idk what to do. My mind is ruined. What do I do ?