A doctor has issued a stern warning against using certain types of mouthwash due to an increased risk of developing some forms of cancer.