Irregular period question

My period used to be about every month in the middle of the month. Last year or 2 i started getting irregular periods. Like light then heavy or all light or really heavy. Then i got it 3 times in one month! Then it was back to normal.. And my doctor said that it was fine and that my body was just adjusting and blah blah. So now its every other month. My longest cycle was 62 days.. The one after that was 51 ...

Can this make it harder for me to get pregnant and ovulate?