How to write good female characters
Take that story you have been working on for a while.
Randomly swap the gender of a bunch of male characters, turning them into women. Do not change anything else. Treat your newfound female characters with the same kindness and respect you would have given to their male counterparts.
Congratulations! You just learned to treat female characters like normal human beings!