Breastfeeding Tips

I need tips on breastfeeding I breastfed for the first week & a half with my first I switched to formula because my breasts hurt really bad I need advice because I want to breastfeed with the next & stick with it any mom's out there have any tips for reliving sore nipples??