"Usually the main board (motherboard) comes with a driver disc that has all the important on-board drivers. If not, open the case, look for the main board make and model on the board itself, visit the manufacturer web site, and download.
For external peripherals, same procedure. Get the make and model, then visit manufacturer web site or Google for drivers.
This question should probably be moved to superuser.com later."