This is usually caused by turning off the water before all the things you have chopped up are gone. Food is probably laying inside the disposer and rotting. You can use a 50/50 mixture of bleach and water or baking soda followed with vinegar. The soda and vinegar will foam up.
if you have never made a mistake, you probably haven't done much.