Why do I get raised whelps on my back and it is hot to the touch and hurts?

Boil. You may have infected cyst or furuncles. These can be treated with oral antibiotics. If it only one it can be drained.