Breastfeeding and Dealing with Judgmental People

Breastfeeding may be challenging at times, and it doesn't help to have judgmental people critiquing your every move. How can a breastfeeding mom cope with these unsolicited comments without her self-esteem being squashed?