Breastfeeding....HELP

Ar

What is an appropriate time to stop breastfeeding your baby?? I have a 3 month old baby I'm not planning to yet but my friend advises me to breast feed past a year. She still breast feeds her 2 1/2 year old son.