Irregular periods??

How do you know when to test if you are pregnant when you have very irregular periods?

Help