breast milk

how can i stop my breast milk from producing? unfortunately i'm needed to go back on my pain meds and can't breast feed while i'm on them 😩 i was told ice packs/a cold compress will help but just wondering if there's anything else i can do?