How do you stop your mind from going off the rails?

My thoughts run crazy and I don't know how to stop it because nothing seems to help. Even if I distract myself 24/7 I'll still get lost in my head and my thoughts will go crazy usually ending up in some dark shit 😞

what do you do to stop thinking??