Lumps caused by breast cancer CAN be painful, but rarely are: https://www.cancer.org/latest-news/breast-cancer-symptoms-what-you-need-to-know.html
It sounds more like a cyst. If it's growing in size or the pain increases, I'd see urgent care as it may be the result of an infection, but otherwise, I'd just keep the pre-scheduled appointment.