Hi,
a really basic question.. therefore only a short answer. Details can be found on a lot of "basic microcontroller" documentations and tutorials.
* Power up
* power up reset --> setting all internal values to default values
* the same is done with the program counter --> it´s value points to the program address where the processing of the program starts
* often: some wait time to ensure stable power supply and stable clock
* release reset = start processing
Klaus