Hydrogen peroxide can help reduce bacteria and inflammation when used as a mouthwash, relieving toothache symptoms.