Breastfeeding after c-section?

Anyone ever have trouble breastfeeding after a c-section or is it still okay??

I guess I also worry with all the pain meds you take after how it might affect the baby, no?