If your nipple hurt, check your flange size. Before pumping, apply nipple cream. If the flow is too fast, hand express slightly before feeding baby.
I find applying nipple cream on flange works better than applying it on nipple. Try and see if it helps.