Hello
HP first made your PC in 2011. It is almost six years young.
You have chipset/processor bottleneck, you have older memory bottleneck, and you have old PCIe Gen2 x16 slot for graphics card.
You also have old BIOS and only 250 watt power supply.
You have to change almost everthing in your tower. Maybe HDD and DVD drive can be used. New SSD drives are much faster so you would have to add new SSD too.
Better to buy new HP PC.
Grzy