Irregular periods

Lexis
Okay so my period has always been very irregular that I can't keep up with it at all. I neve know when I'm going to have my period. I can go a month without my period or a month on my period. So how am I supposed to know if I'm pregnant if I never know when I could've missed my period. Or even when to take a test to check it accurately?