Follow this guy first

Note: the reset pin is digital pin 10 of Arduino UNO

You may encounter some errors:

1.avrdude: Yikes!  Invalid device signature.
         Double check connections and try again, or use -F to override
         this check.

-> solution: checked your diy board very carefully, use the meters and check conectivity from target arduino pins to your AVRmakeII or Arduino UNO.

in fact,you have to check 5 connection (1) MOSI, (2) MISO, (3) Reset(pin number 29), (4) SCK, (5) your capacitor and crystal. Check to make sure it connected with arduino pin.

2. Second error

Image result for expected signature for atmega328p

-> solution: I not really sure wether we can apply the same method for many atemega chips because I did not check it. But for the best case, check your chip cause there are many versions of arduino atmega 328PB, 328P-AU, 328….

so check carefully what type of chip you used.

The video below show the same process of burn bootloader and apply on Atmega3298P-AU