I wasn't told to eat anything with it. Just to take it three times a day.
Years ago I took some type of antibiotic and developed a yeast infection. I was told that I should eat yogurt with the live bacteria in it when I was on antibiotics so I still do. But I love yogurt anyway and eat it all the time whether I'm on meds or not.That is when I started eating it regularly.
(Note: when you take penicillin or other antibiotic, the medicine kills your normal intestinal flora (many of which are also the yogurt bacteria.) If you eat yogurt while you take penicillin, you will have fewer digestive problems.)
Dad has had tons of antibiotics and he has never been told to eat yogurt though he does normally eat quite a bit.