When you sprained it it caused a lot of pain I am sure, as had same a few years back. The heat is cause by pain retuning. Do put some ice on it. For 20 min max each time you feel swelling or heat. This will help reduce this as well tylenol will help as well . Good luck and good health