Access a variable from another script on another object

This has been asked a lot and I find many things simply by searching, but I can’t workout a simple single code I have to add… I have a script attached to a count down timer and a script attached to the player. Once the counter reaches zero it has t access the player script check the changeHealth variable and do things accordingly. It’s just a few lines, but I cannot find 'em.

Declare a new object variable.

GameObject.Find the object with the script you wish to access.
Place it in the object variable you created.

Create a variable of the type you wish to access.

Use GetComponent to access the script and variable you wish to access and place the result in the variable you created.

It works with object Transform well as GameObject.

The scripting reference has an example you can follow