Struggling to get pregnant

I’ve been trying to get pregnant for the past year and a half and was unsuccessful. I have irregular periods which makes it even harder to tell when do I ovulate. Is there anyone who’s going through the same problem who can give me some advice?