when should I do the pregnancy test ?

joshua 🌈
Hey I just have a question regard doing the pregnancy test do you think it will show pregnant before the period or I have to wait till the period is late can I take a test after 5 days or 10 of trying ? 
I miscarriage 2 months ago Cz I didn't know I was pregnant / advise plz thank u