The painful cysts in breast you have are nothing but milk secreting glands. when active, they are delicate in secreting phase & get inflamed if pressed.It's better to avoid it.
In the begining, anti inflammatory analgesics ,mild fomentation may releive the pain. You should continue breast feeding. massage
to be avoided.
In case it does not subcide/ fever
starts- you should visit your Obstatritian doctor for prescription of antibiotic along with other drugs.