There are two ways to disable traps:

1. Disable Trap potion
Buy this potion for orbs to disable one random trap.

2. Die more than seven times
If your character dies more than seven times, the game will automatically disable a trap that inflicted the most damage. Disabled trap becomes slightly visible.