How to move forward?

Ex already slept with someone new. Don’t want to get into it. I’m hurting so much and I don’t want to feel this way. What’s the best thing I can do? any words of motivation?