Transitioning to formula

*this has been a hard long thought decision for me but mastitis was my official break point*.

How do i get my breasts to stop producing milk if i make the switch to formula? Any helpful hints and experiences welcome. Thank you 🙏