Make sure you know what your doing before you buy parts. Check your socket, motherboard power connector pins, ram pins, ram standard, and all that type of stuff.
And of you get an amd processor remember that the amount of ram cards in hou computer has to be even, so you wont be able to use 3x2 6gb ram.