How to stop breastfeeding?

Can ya’ll please give me advice on how to STOP breastfeeding. My daughter is 16 months. And when I tell her no she screams and scratched me and hits my chest. and what’s the process look like. How long did your kiddos cry for? Etc? I want to know what to expect. I know all kids aren’t the same but I just want to hear others experiences.