What is happening? Horrible intrusive thoughts

I am currently experiencing horrible, awful intrusive thoughts that send an uncomfortable feeling down into my body. They are centered around an authority figure yelling at me in my past. It feels as if he (a teacher) is standing right next to me and shouting in my ear that I am a bad person. It is tough.

Any advice for this? I will just say I am a bit sleep deprived so perhaps that has something to do with it, but I do think this may be a deeper issue. Thank you.