Ovulation

I went to the doctor and got 2 different tests done and he said I wasn’t ovulating but I think I do sometimes. Is there anything I can do to make sure I ovulate. Been trying for over 3 years thanks