Exclusively pumping question

Lisa

Do you know what would cause a hard, swollen, and painful nipple. I've checked that in using the correct flange size. But the pain is worse when pumping, I feel like I'm not removing all milk. But I'm still pumping to try and prevent engorged breast.