at first check the manual of your Dell in order to see if your drive is connected via P-ATA (IDE) or S-ATA.
Buy a drive with the same interface then.
In case your existing drive is on P-ATA, change the jumper setting to Master. The new drive has to be configured as Slave then.
That’s basically all.