How do you let pain go?

I feel so fucking stuck😔 some days all i do is think of the past pain & it just makes me miserable. How can i let go & be at peace & happy?