prayer to remove negative thoughts

I need help my thoughts get the best of me at time and I don’t know how to control them.i am so use to getting hurt that all I see is pain.it is destroying me on the inside,because I make others around me unhappy.

And very frustrated,I don’t want my life to be like this,but I am so lost.i pray and I try to take those thoughts away but it is like a nightmare,that is not ending.please pray for me.