When to wean baby?

When did you guys wean your baby?? When do you think it’s the best time ?? Like when they have gotten the best nutrition. I’m 5 months pp and exclusively pumping && have now starting school, it’s kicking my butt lol :(