Some medicines can make your menstrual periods irregular. Sometimes too much of a medicine (for instance too much thyroid medicine) can affect your cycles.
Sometimes taking too much Motrin or Advil (ibuprofen) around the time of ovulation can decrease fertility. But the vast majority of medicine do not affect fertility at all.
Would you like to video or text chat with me?