Listen, don't rush to test 5 days before your period, it will just show a negative and make you sad. Wait till your date actually passes, then test. First morning urine is best, simple.
Because of my PCOS, my periods were always late, so testing on day 30 was useless for me. I usually waited till 10 days past my longest cycle or did a blood test. If your cycles are irregular, give it a bit more time so you don't get a false negative.
Honestly, wait till your period is missed by at least 3-4 days! I was dying to eat spicy golgappas and felt super weird, but testing too early just gives confusing faint lines. Grab a good snack, wait a couple of days, and test with morning first urine.
My saas told me to wait patiently for a week after the missed date before testing. It's actually good advice because testing too early just causes unnecessary tension. Do it with the first urine of the day, it gives the most accurate result.
Look, the best time is the day after your missed period, or even better, 3-5 days after. Use morning's first urine because the hormone concentration is highest then. Don't waste money testing too early, it just leads to confusion.
In my experience, testing on the exact day of my missed period gave me a very faint line. I waited another 3 days and got a solid positive. So waiting a little bit definitely helps avoid the confusion.
Testing a few days after your missed period is ideal, using the morning urine. Just stay calm, drink warm water, and avoid any heavy stress. If you feel any unusual severe cramps or spotting, check with your doctor instead of waiting.