Loss due to chemical pregnancy

Lalita

How long to wait after chemical pregnancy loss?? How can i ensure that it may not happen again?