@ankara-- Breastfeeding was painful with my son because my nipples were extremely dry and cracked. Are you using nipple cream?
Some of the more expensive nipple creams help, but I like nipple shields the best. You place this over the nipple and it protects the nipple during breastfeeding. You could also use a pump. I think pumps can be more gentle than babies sometimes.
If you just gave birth and if this is your first child, the chances of painful breastfeeding is higher. Give your body time to adjust. It will get better with time.
You might want to ask your mother or mother-in-law for some breastfeeding tips. The older generation sometimes have crazy sounding remedies and tips that actually work.