Anxious 😔

I just went through something that made me extremely anxious but I had to do it so I did but even though I know I’m safe at home I feel like my heart is going to fall into my stomach and explode. How do you get rid of these feelings? Everyone says that pushing through the anxiety gives you confidence and therefore you won’t be anxious, but that isn’t happening for me. I still feel horrible and scared