Unknown Mouth Sore

A couple weeks ago I had these sores come up on my hard palate and a few on my gums. I couldnt eat a thing as it was too painful. Did some reading that canker sores dont grow on the hard palate, went to take a look and they didnt even look like canker sores anyway. What were these things?

thats herpes

every image ive seen of herpes inside the mouth doesnt look like that.just go see a doctor