Pc shocks me anytime I touch it?

I assume this is trouble shooting. But as the caption says, I can’t touch the top of my pc without getting shocked, this has been happening for the past few days, I know it’s not me, it’ll happen multiple times in a row without me moving, I can’t answer many questions as I didn’t build it, infact I didn’t do anything at all, someone else bought it and did all that stuff for me, so I’m not too educated, does anyone have a solution? If it helps my lightswitch in a hall also shocked me, but it wasn’t nearly as painful.