In the first place, write for yourself.
I don’t do it often anymore (lack of time) but used to be a somewhat active blogger. It helped with my own understanding of the topics I wrote about.