Pick the CPU and graphics card first, followed by RAM, internal storage, case and additional cooling. After this comes the power supply, followed by peripherals: a monitor, keyboard, mouse and sound (headphones and/or speakers).