How to enable and disable actions

How to enable and disable actions