What worked for me was a thing I started with one of my best friends, where we're accountability buddies for each other. We both pick topics/habits we wanna foster and then talk once a week about how that went the last week. In my case I chose exercise (going a certain number of times per week), and there were quite a few moments already, where I'm sure I would've just skipped if I didn't have this construct. It basically created this social obligation to keep the habit. I can really really recommend it if you wanna try it out with someone.