need help with setup to program atmega328P

hi guys im a newb at microcontrollers

How do I program the atmega 328P with the arduino uno R2 ?

If you want to program a target Atmega328p with Arduino Uno as an ISP programmer, in only one step, without being obliged to burn a bootloader and then write your code (which is complicated), then you can follow the instructions from here: