Do you put the lubrication on the flanges or your breast?

I've been pumping since going back to work when DS was 9 weeks old however recently I've been feeling a pulling sensation while pumping and then am tender afterwards. I thought I would try to lubricate with coconut oil to see if that helps.