@andriana99,
It sounds like some sort of anxiety - a licensed therapist can determine and help you work out what is causing this and how you can handle it when you get these episodes.
The hard thing is right now getting a therapist - they are overwhelmed due to covid increasing the amounts of people having feelings of depression and anxiety and not to mention many therapists not wanting to meet in person.
I would suggest going the route of tele-health as many are now doing this in place of in person, it tends to be lower cost, easier to get appointments and more flexibility on their availability.