Help saving game variables that are in my game instance?

I am trying to get it so when i close the application and rerun it, it will save all the data and load it in such as points or money the player has earned.