I should have been more specific
Yes, it's generally safe to take yogurt or probiotics while taking antibiotics:
Helps prevent diarrhea
Probiotics can help reduce the risk of diarrhea by more than half when taken with antibiotics.
Rebalances gut bacteria
Antibiotics can kill off some good bacteria in your body, so probiotics can help restore the balance.
Doesn't interfere with antibiotics
Research suggests that probiotics don't interfere with how antibiotics work.
Some recommend:
Eating yogurt or taking probiotics while taking antibiotics
Choosing probiotic strains like Lactobacillus rhamnosus GG and Saccharomyces boulardii
Spacing dairy products from antibiotics
Taking probiotic supplements
Eating other foods that contain prebiotics or probiotics, like sauerkraut and kimchi