lets make an example, you are a young boy living in amish family. one day you get a really good hard on when you see your cousin jacob shoveling cow dung without his shirt on, you start to get all these nasty thought about him fucking you in the ass. then you realize that you could go to hell because of these thoughts. you do everything you can do distract you from thinking about it, like pray to distract yourself from these thoughts etc.
or you are a young man getting back from iraq, you saw some pretty sick shit there and these things start haunting you. you realize that when you get drunk, you forget all about this, so you start to drink in order to forget.
or lets say that your boyfriend left you, you go out partying and hook up with random guys, because having sex with some random guys is distracting yourself from thinking about your ex.
so its basically distracting your mind from things that disturb you. i dont understand whats so vague about it.
"Where wisdom reigns, there is no conflict between thinking and feeling."
— C.G. Jung