If breast swelling and pain occurs during breastfeeding, it is considered that the mammary glands are compressed or the milk ducts are blocked, and the breast swelling and pain occurs after the accumulation of milk, and there is no special medicine to treat it. You need to go to a regular hospital in time and let a professional breast doctor massage the breast to treat it. During the treatment period, try to let the baby more breastfeeding and sucking, if necessary, use the breast pump to suck out, to avoid a long time accumulation of breast milk, bacterial invasion caused by acute mastitis. If breast swelling and pain occurs during non-lactation period, it is considered to be caused by cystic hyperplasia of the breast. It occurs along with the menstrual cycle, and the symptoms are significantly relieved or disappear after the onset of menstruation, and the swelling and pain may be accompanied by a palpable lump in the breast. Symptoms are mild and do not require treatment. If the pain is severe, you can take oral medication such as lactofetish elimination, Xiaojin Wan, and Easy Pill to treat the pain. Usually try to maintain a happy mood, do not get angry, do not stress too much, try to go to the regular hospital to confirm the diagnosis and then guide the treatment.