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 ?

http://arduino.cc/en/Tutorial/ArduinoISP

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: http://pdp11.byethost12.com/AVR/ArduinoAsProgrammer.htm