A skin sensitivity test is performed 24 hours before the treatment to check for any allergic reactions. This helps ensure safety and minimizes risks during the procedure.