How can i lose weight and stop drinking and eating bad?

I need help so i can be healthy and live longer .instead of going a direction of me being obese…. My kids it was them who made me fat and not healthy…. I had them back to back thats why… i had my 1st baby in 2020 then my 2nd in 2022 in March.. i need to run 🏃‍♂️ and be fit… HOW DO I GET THE MOTIVATION TO DO THAT AGAIN? i am 170 and i want to be 140. Help!!!!