"I write a message" is correct English, just as "I am writing a message" is correct. They just express different ideas.
For example, you can say: "I buy my lunch and return home. I write a message to my sister, eat my lunch, and go to sleep."
"I am writing a message" means that I am engaged in the act of writing right now.