best time to take HPT ?

Jaz • Wife to James , Mum to Scarlett 14
Need to buy one today , 4 days late and cramps for 4 days that have turned painful over night , but I have already urinated this morning does this mean it won't pick up the  hormone levels ?? I'm 16dpo , TIA .