Take this from me: to keep yourself from hurting you, learn not to harbour any hope.
Don’t have expectations. Don’t wish. Don’t play out scenarios in your head that have close to potential zero of happening. Don’t aim too high. Don’t fall too hard. Don’t dream. Do your heart a favour, don’t.
At times, the one you least expect to hurt you, would turn their backs.