@Echo Night,
You are now a member of what oldies called the 110 Club. I'm a longstanding member. All of its members have been shocked by house wiring.
It's AC at 120 volts if you're in the USA. You'll be fine. Don't touch it again. Tell your parents to turn off the breaker to that light switch and call an electrician if they don't feel comfortable fixing it themselves.
To this day, if I'm doing something to light switches or fixtures, I pull out a voltmeter to double check that the wires aren't live, even though I know I flipped the breaker off. It's the residual effects of that anxiety you mentioned (and probably a touch of OCD.)