My carpet has turned yellow, what should I do ?!

washing carpet

This is the problem of many people after washing their carpets at home. This happens due to the remaining dirt, pus and yellow water that comes out of the carpet after washing and settles after drying and destroys the texture of the carpet or turns the roots of the carpet, which are the ends of the carpet, yellow.