The simple trick can be used for you hair too