Both of my lower legs and feet are swollen, red, and warm to the touch. My feet especially really hurt. What could be causing this?

Merits urgent exam. First, one must determine the cause of the leg edema. It might be heart failure, vein problems, hypertension, heart valve problem, infection or other problem. Once the diagnosis is known, it can be treated appropriately. The goal is to eliminate the inflammation and edema and prevent its recurrence.