Two If statements in Update

I want to disable axe collider when e is pressed and enable it again when e is pressed again. I have the bool “axeOnHand” so If statements can be called when needed. But when i press e, both If statements are called. I think the problem is they are called in the same frame. But i don’t know how to solve this issue.

Add an “else” before the second “if”