If you're unsure about your carpet's material, it's a good idea to perform a patch test in an inconspicuous area before using any cleaning solution on the stain. This way, you can determine whether the solution causes any color fading or damage to the carpet fibers. Additionally, you can refer to your carpet's manufacturer guidelines for cleaning recommendations.