You can perform a patch test if you suspect you are allergic to a particular denim material. Apply a small piece of the fabric to a discreet area of your skin and observe for any signs of irritation or allergic reactions.