Trying for our first baby

Hi advice needed me and my husband are trying for our first baby my period can be irregular so one month I can have a period in my 4th week and other times it can take up to 6 weeks so don't really know When I'm ovulating. So when I can I do a pregnancy test