How to stop milk

Hannah🇬🇧

I’m currently getting over mastitis and currently express my breast milk. But Iv decided after my mastitis has cleared I’m stopping and moving to formula which I’m using already aswell as breastmilk. But how do I go about stopping my supply without getting mastitis again?