First of all calm down. hot tea will rarely deal real damage if it is spilled just on the thigh.
If the burned area looks like this:
http://z.about.com/d/dermatology/1/0/U/burn2.JPG its just a first degree burn and he can take a regular OTC medication - just ask the pharmacist.
if it looks like this:
go to the hospital