Epsom salts are not a substitute for medical treatment when it comes to vaginal infections such as yeast infections or bacterial vaginosis. While a warm bath with Epsom salts might provide temporary relief from itching and irritation, it is essential to seek proper medical advice and treatment for vaginal infections.