How to make an int go up or down by a certain amount every second

How could a make an int go down by 2 every second or go up every second?

IEnumerator Wait()
yield return new WaitForSeconds(1);
myInt += 2;

Just use

myInt -= 2;

if you want it to go down.

Hope this helps!