About changing possessor of the pc

Now I am using Pentium 4 with gigabyte if I want to change my processor to new version then is it possible to change it and I also want to change my hard disk to 500 GB then is it possible to change it?
if it is possible then which version of processor I can use of it?
