My tongue has white things and turns red at its sides. My doctor told me I have a gastic infection but after medication its not get any better. Help pl?

Whitish tongue. The tongue is known to have many variations with pigmenting, size, appearance, not always due to disease. Causes of a tongue that looks white include: lichen planus (responds to steroids), white sponge nevus (familial, benign, permanent), smoker's leukoplakia (2% risk of cancer, needs biopsy), hairy leukoplakia (due to epsteinbarr virus), warts (due to papillomavirus), "thrush" (rx antifungals).