Foul smell may b due to calculus
in teeth or cavity in teeth. Or it may also be due to reasons relating to intestine etc. You may conslt a dentist
for clinical examination.
If its due to cavity then filling will solve your problem. If its due to calculus cleaning of your teeth is needed.