Stop InputAction from working

How do I stop InputAction from working, I’m trying to make a dodge mechanic with 3 bars. I want to disable the InputAction until at least 1 bar has recharged otherwise I keep on dodging and the bars go minus so it takes extra time to recharge.