Advice?

I'm trying to lose weight (tldr shitty ex made me not care about how I look/how healthy I was) I've been trying for a bit and I see some results but then I break my streak and everything comes back. How do you guys stay motivated?

I still love myself it's just a "I can be taking better care of myself and be in a better place mentally" situation.