Epsom Salt Bath

Is it ok to take a bath with Epsom Salt if your cervix is open?