21 days it's all it takes to create a habit. Also you could familizarize yourself with the B=MAP framework -- I highly recommend it to up your chances for success. More on it here: https://www.habitweekly.com/models-frameworks/the-fogg-model