Oled screen is not turning on even it is connected to arduino nano.

I have a problem that my oled screen does not turn on even though the arduino nano is connected and is working. I wonder that if the reset button of arduino nano is pressed when there is no power then does the program gets removed or not?