Write your story as it needs to be written. Write it honestly, and tell it as best you can. I’m not sure that there are any other rules. Not ones that matter.
If you read good books, when you write, good books will come out of you.