How to wean from breastfeeding?

How do you wean a child from breastfeeding? I am so over this