how can i decrease the value of an ineger just once in update?

im curently working on a game an whenever the player press the H it heals using a medical syringe,but i want to decrease the current value of syringe_number every time after he uses one.
HERE IS MY CODE:

void Update () {
        if (health_seryngies_number > max_seryngies_number) {
            health_seryngies_number = max_seryngies_number;
        }
        if (health_seryngies_number < 0) {
            health_seryngies_number = 0;
        }
        if (Input.GetKey (KeyCode.H) && healthsyringe.health_seryngies_number > 0 ) {
            decrease_seryngies_number (1);
            anim.Play ("healing");
            print (health_seryngies_number);
            player_controller2.increase_health (30.0f);
            player_controller2.update_healthbar ();
        }
    }
    private void decrease_seryngies_number(int amount_to_decrease)
    {
        health_seryngies_number -= amount_to_decrease;
    }
}

use .GetKeyDown or .GetKeyUp instead of .GetKey

For next time, learn how to use code tags - it makes your code much more legible.

thanks, it worked but please can you tell me the difference between GetKeyDown and GetKey?

GetKey returns “true” every frame as long as the key is held. GetKeyDown returns “true” only for the first frame.

thanks