Both of my heels hurt and my left ankle is swollen and hurts also?

Which came first? Hello, its important to identify which heel began hurting. True bilateral heel pain is rare. Usually on heel starts hurting and one may subconsciously compensate placing extra stress on the other heel. Please consult a specialist to get to the source of the problem, further advanced imaging maybe warranted.
Did you have injury . Now you need to give a history that led up to the pain. Best to see your doctor for exam .