You may also be simply...hyperventilating, Hannah. No worries.
I would have said nothing if I had no empathy. I said nothing bad about the person. I was truthful in stating that we can't solve a problem we don't know the nature of -- this girl has no diagnosis to share with us, so any advice we could give would be useless. Could I have said it in a lot more words? I suppose. Would that make her situation different? No. Once she has seen her doctor and has some substance to this, I hope she will come back and then we can be of some help, but right now we really can't.
I know you are afraid; no worries. Whether your issues are medical in nature, seeing your physician to rule out any underlying causes is simply precautionary. If a medical condition does not exist, then you may choose to seek an answer from a emotional/mental health evaluation. Anxiousness is very difficult to manage and I encourage you to speak to your parents. If you feel you cannot approach them with your fear, confide with an adult that you trust and love, let them will guide you. God bless.
Your response to a very young, very frightened young girl's fear more likely exacerbated an extremely fragile issue albeit medical or emotional/mental health issue. The crux of your response is in fact wise; however, your delivery lacked tact and empathy.
Hi Hannah! :) You are in puberty right now, which means hormonal changes are happening in your body, and is very likely the cause. But I'm not a doctor - talk to your mom about this and ask her to take you to a doctor - preferably a female one.
No, we can't. You need to have your parents take you in for a checkup with your doctor as a first step. Good luck.