No women in my family breast feed so breastfeeding wasn't something I was exposed to but it was something I wanted to do. I did a lot of research, I read books, read kellymom, mumsnet etc. I watched YouTube videos (nhs do some good short videos). I also attended a breastfeeding workshop at my hospital which my DP attended.
My DP was very pro breastfeeding which helped massively as he also researched breastfeeding and helped me so much in the beginning such as reminding me about what we'd learned about latching, understanding cluster feeding and practical things like doing all the cooking and cleaning for the first few weeks.
My nipples were sore for the first couple of weeks, lanisoh helped a lot and I've had mastitis and nipple blisters but overall I didn't find breastfeeding very difficult by 3 weeks it was fine. My dd is 8 months now and I still exclusively breastfed (although I use cows milk for porridge as I'm crap at expressing).
I'd say knowledge is the key. I was aware of cluster feeding so I knew it was normal that my dd was feeding for hours, sleeping for 20 minutes then feeding for hours again. I knew it was normal that babies lose weight initially after birth. I researched tongue tie. Read up about co-sleeping, I would have struggled with the exhaustion of breastfeeding if I hadn't co-slept.
When my dd was tiny I met a lady who had a toddler, who was rather taken by my dd and was very sad that she was unsuccessful with breastfeeding. It turned out that her Mil had repeatedly told her that she obviously wasn't producing enough milk as he kept crying and feed for hours. Clearly I wasn't there so can't say for certain but it sounded like normal cluster feeding to me, I didn't have the heart to say anything to her as she was so sad about it.