Although coconut oil might temporarily soothe skin irritation due to a heat rash, it could block the skin’s pores, exacerbating the skin rash. Avoid applying any substance except cold water compress on the heat rash. Some hypoallergenic water based moisturizing lotions might help, but should be used only when advised by a doctor.