How do I attach an external SQL Server DB

Hi,
One of my friend has given me a Microsoft SQL Database.
How can I attach it to my database server.
The files I got are as follows.
myproject1.mdf
Can you please put down all the steps how to attach this DB?
Thanks,
Cameron
