Breastfeeding!!

So I am having a repeat csection next week and I plan to breastfeed right away. The only thing I’m concerned about is the narcotic pain meds ill be on there and once I’m home. Will that affect baby? Should I bottle feed for the first week? Any experiences?