Help relieve breast pain

Unfortunately, due to severe ppd, I’m going to have to stop breastfeeding my baby girl and switch to formula 😢 I really didn’t want to have to, and I’ve held out as long as I could, but my mental health is falling. So, back onto meds. We’ve already introduced formula supplements as we still have some breast milk stored and are giving it to her. She’s taking to the formula just fine, but my breasts are suffering. I’ve never had to stop breastfeeding like this before and the only thing I know is to pump to relieve the pain. I’m down to only pumping twice a day, once first thing in the morning and once later at night, between 7-9, depending on when I go to bed. But sometimes between those pumping sessions, I “feel” engorged even though I’m not, and there’s some discomfort, sometimes pretty bad pains. Have any of you fellow moms had to do this as well? What helped you stop the milk flow and the pain? I feel like if I keep pumping, even just twice a day, it’ll never stop.