I am male, 24, trying to lose weight. Currently I am Walking and going to the gym, using the treadmill but ankles and calf muscles are getting very sore. Can I avoid it?

My calfs are very big, out of proportion to my ankles, and I think it's because I walk to much - but they are aching everytime I walk uphill now, even for a short time.