TTC, but irregular periods


I’ve been ttc for like 10 months now, but I have irregular periods. I sometimes miss a month or miss 2 months, and it’s hard for me to keep tract of my period and when I ovulate. I need some advice on what I can to do please, I’m starting to lose hope.