Thanks for asking the query,
If consumption of hot food had injured esophagus
, it may have caused ulceration over the affected area.
Normally it heals in 5-7 days with symtomatic treatment provided and there is no superinfection
Drink plenty of water and keep yourself hydrated.
Avoid eating hot and spicy food for some days.
Take course of antioxidants daily two times and analgesic
to relieve pain.
Maintain a good oral hygiene
Hope this helps out.