Madeleine L'Engle, the author of A Wrinkle in Time, listed three vital matters for writers: journaling, reading and writing
First, if you want to write, you need to keep an honest, unpublishable journal that nobody reads, nobody but you. Where you just put down what you think about life, what you think about things, what you think is fair and what you think is unfair.
And second, you need to read. You can't be a writer if you're not a reader. It's the great writers who teach us how to write.
The third thing is to write. Just write a little bit every day. Even if it's for only half an hour — write, write, write