You should go to a dentist to get it evaluated. I can't say specifically what it is. It may be a severe case of cold sores but normally it doesn't get that bad. It may indicate that there is something else going on with your immune system so you'd definitely want to get it checked out.