I am considering you are using SQL Server Management Studio.
Connect to the server you want the database in. Right click the database folder and say "Attach". A screen will come up and you will need to provide details like the mdf file of the database.
Get more details here: MSDN - Attach a Database