A little warm is ok , hot no good. Make sure you have good airflow to the esc to help keep it cool. Now depending on the specifics, motor, prop, battery and esc combination will give some direction . For example you could put on a smaller prop with less pitch to it so the motor isn't drawing as many amps but then do you have enough thrust? You could up the size of the esc and keep the rest the same.