On the roof of my mouth right behind my teeth I have a dime size red hard knot and it is very painful. It's very hard to swallow and hurts worse when?

More info needed... How old are you? Tobacco habits? Condition of teeth? How long has the lesion been there? Any wisdom teeth present? See a local dentist or oral surgeon for a proper diagnosis and treatment.