Add half a cup of baking soda to the detergent in the washing machine and wash the shower curtain at 40 degrees celsius.