conceiving after miscarriage

Hello, I'm new to this all but would really like some help or advice. I found out I was pregnant on November 16th 2017, my boyfriend & I were through the roof, even though it was not planned we couldn't be happier. On December 10th I started bleeding what I thought was spotting, this was my first pregnancy, but being worried as I was I went to urgent Care, the ER doctor told me everything was fine with baby & me & sent me home with no ultrasound because I was having one that coming Wednesday & it was Sunday. The bleeding continued up until my ultrasound date when I found out December 13th I was having a miscarriage.. I guess I'm just curious to hear other stories & wondering how long to wait before trying again or when is the right or healthy time.