Torn up nipples

My nipples are cracked and blistered 😩 and I mainly pump. Is it ok to still pump with them like this? Is there bacteria going into the baby's milk from it?