What has helped me is being aware that the process hurts no matter what.
And also be aware that at some point it will stop hurting, to know that if it is something that you can no longer control you must let go, and from there, continue with your life, focus on yourself! New experiences bring new thoughts, you just have to stay distracted and everything will pass.