lol this is called pizza burn if the hot pizza is the cause
avoid hot , sharp , irritant food + use anti inflammatory mouthwash
if it didnt resolve within 10 days check the oral surgeon
It will usually take 7 to 10 days for it to heal. I could not diagnosis it without seeing the lesion. If it does not heal then you need to consult your dentist or an oral surgeon.