I have self-harm thoughts, fear of germs and diseases and taboo thoughts that make me feel like a monster. It's been particularly hard during my first medication because paroxetine gave me a lot of side effects and worsened the thoughts.
I found relief watching anything on TV, playing games on my cellphone or bingewatching YouTube video.
In the worst cases I do a thing that I call "Lip-sync for my life". I close my eyes, put on my earphone, play my favorite playlist and lip-sync at top of my energy, trying to get fully lost in the music. It helps me a lot, I hope It can help you all as well.

Another thing that helped me a lot, mainly around the period of my self-awareness through the first encounter with a therapist and the diagnosis, has been documenting about mental illness through autobiographical graphic novel (I suggest "Fun home" and "Are you my mother?" by Allison Bechdel and "Marbles: mania, depression, Michelangelo and me" by Ellen Forney, among others) and comedy tv series like #CrazyExGirlfriend and Lady Dinamite with #MariaBamford and the web series Just between us.

I'm also a PC Gamer and in those periods when the thoughts became too much I find difficult to even focus on a narrative-driven game. I prefer relaxing little gems like "A short hike" or creative sandbox games like "Occupy White Walls", described as Minecraft for museums. The last one lets you create your own art gallery out of a database of paintings and architecture. It's pretty amazing, but maybe a bit addictive.

Hope at least one of my suggestions is useful for you. Leave in the comments if they worked or if you have more tips to share. Hugs!