Help with PROGMEM(Solved)

I am trying to save the variables to flash memory(var1,var2,var3) then I want to be able to load them from flash memory and reassign them to the variables. For example var1 =32 then is saved to flash memory. var1 is somehow changed to 56. Now I want to load the flash memory so var1 = 32 again. Basicly I am just trying to save to flash so when I power off the device the variables are still saved.