Is it common for breastfeeding to be sore at first?

Prabh
How long does the soreness typically last and what are some ways to alleviate the discomfort during breastfeeding?