Eww the smell

What can prevent the smell of whatever it is while on your period? I can smell something weird and it's only while I'm on my period it bothers me and makes me self conscious, what can I do to prevent the smell?