How do I set a Primary Key

How do I set a Primary Key

I would like to create a Number field with a Primary key and have it auto populate with a number (of course - no duplicates). How can this be done?