If there are ulcers in the mouth for a long time and are painful, then these can be signs of oral cancer.