How to deal?

How to do deal when others compare your kid to other kids. I am trying my best for this thing to get to me. I was always compared when I was a kid. It was very hard for me. I never want that to happen to my kid. I feel very depressed. I want to give my kid a good life. I want to be there to support no matter what. How to deal with this?