I have small red spots near my tooth at the back of my gum and it is hard to eat on that side and it is very painful when I brush it.

Small red dots. Sorry but that could one of a hundred things. There is way too little information to even make a stab at a correct diagnosis. Please see your local dentists for help.