How to stop breastfeeding

🐘🐘🐘 • 👧🏼 born 1/19/16. 👼🏼 lost 9/15/17. 👼🏼 lost 11/26/17.
I have a boob obsessed one year old. I have to stop because I have chronic migraines and I need to take medicine that isn't safe for her. I need advice, anything is good. It's very emotional for me. :(