There may be nothing women can do if their infertility is associated with either genetic and/or physical issues or with an illness.
The American Pregnancy Association has suggested the following steps women can take to decrease the likelihood of a future infertility issue:
avoid sexually transmitted diseases
do not use illegal drugs
avoid excessive alcohol
adopt good personal hygiene and [...]