It will depend on your motherboard.
If you don't know what sort you have, have a look at aida32: click here
Go then to the manufacturer's site and the documentation there will tell you.
Be aware that it is not an easy thing to do (i.e. to add a new processor) and not always possible. More RAM will make a difference and prices are falling nowadays.