Breastfeeding Help

I’m pregnant with my second. With my first, he was colicky and had such trouble latching. I wanted to BF so much but it didn’t work and I eventually ended up doing formula. I want to try BF again but am so anxious about it. Please if anyone has any recommendations on ways to not give up, something to help ease my anxiety on it. What was your schedule like? With BF and pumping did you have a schedule that worked? Anything at all please i REALLY want it to work