How do you know when to take a hpt

Autumn Kay • ttc for two and 1/2 years, had a miscarriage 7/2/16. have stopped trying for now.
If you have very irregular cycles? Everyone always says wait till you miss youe af but if you have always been irregular then you never know if you missed it. How do you know when to test