Baking soda has an acidic pH. Rinsing your mouth with a solution of lukewarm water and baking soda can aid in the removal of microorganisms. This might help you get rid of your toothache. However, if you have another problem such as a cavity or infection, then this treatment alone won't be enough to cure you.