Any suggestions

I found out I was pregnant in early Jan. ... I going out on this past Monday that there was no heart beat. I had to insert pills to get the fetus out. .. we want another baby, but I don't know hour long to wait before we start trying. Any suggestions? Also I'm new to this.....