There are tons of meds to help deal with GERD so check with your doctor about either trying something else or making sure that the yeast infection you got was truely caused by the med. To help prevent yeast infections in the first place you should eat yogurt with live active cultures or take acidophillis capsules routinely. Since you do have GERD be sure to sleep with a wedge type cushion at night to elevate your head or put the head of your bed up on blocks.