It sounds like you might have a boil which is an infection like a small abscess in the skin. They usually have to be lanced or opened up with a freezing type anesthetic to numb it. That gets the pus out so it can heal. Sometimes antibiotics are given too. If it is big enough to hurt when you walk, you really need to see a Dr. It will feel much better after draining it.