Dear Hi, Welcome to Healthcaremagic!
Loss of taste is known as ageusia. This can occur with feeling of or presence of ulcers. There are a number of causes like lichen planus
, aphthosis, Behcet's syndrome, nutritional deficiency
, burn eg. from hot coffee, drugs like ACE inhibitorsetc. Two days is a very small duration for a cancer development. Take a multivitamin
tablet, & do antiseptic gargles for a few days. Please consult also your family doctor also. Good luck.