As long as you write (or do whatever habit you intend to start) for 21 days, thereās a high chance it will stick!
So write everyday even if itās one word, one sentence, one paragraph - start really small but really consistent. Maybe dedicate a specific nice notebook for it.
I donāt write but Iāve used this approach with art, reading, working out, etc. and Iāve had success!!