I've breastfed all three of my children and the most difficult was the second, it wasn't that bad.
DS1 - had to get some help with latching initially. For a few days could only feed lying down :o After this was sorted it was easy - I did use Lansinoh if my nipples got sore, which healed them quickly, and I continued until he self weaned.
DS2 - we got separated after birth as he had to go to SCBU in a different hospital. I pumped but not very successfully. He was given formula. When we got back together my milk supply hadn't quite caught up with what he needed, and it took 6 days for my milk to come in rather than the usual 3. I did lots of skin to skin, ignored the advice (which luckily I knew was bad) to limit feed times, woke him up if he slept too long, expressed a bit and breastfed as much as possible with formula top ups until he was 4 months old. Then the formula wasn't really needed so we dropped it and he breastfed until I got pregnant again and developed a hormonal aversion to it.
DS3 - 6 weeks old. Latched on 10 minutes after he was born and it's been smooth sailing ever since!
IME, the best thing you can have is information to counter the stream of breastfeeding related myths, unhelpful comments and doubts that will come your way in the weeks after birth. There are lots of places to get info but I find the most effective is following some BF experts on social media (I like Amy Brown and Lucy Ruddle, there are others too) and going to a local support group if there is one.
There are also good books and videos about breastfeeding if you look for them.