Had a miscarriage last week

When can i start back trying? Took this test and i see the faintest line. Should i wait till doctor say it’s okay ?idk of you can see the line because of the quality of my phone