Earlier, I was very lazy and was getting fat. And working out was a bit of hassle, especially with kids. But I took small steps and developed the habit. Initially, it takes time. But if you do it consistently, you kind of automate your body to do exercises on time.
I read this book (a popular book) on developing habits and it has been an amazing experience. Hope this helps.