When to stop breastfeeding ?

Sammy
I am not a mam and i am no expert on this subject i just see alot of comments on women breastfeeding there child until they are like 3/4/5 maybe older im just wondering what you guys think ?