If the tooth is a permanent tooth, time is extremely crucial. Pick the tooth up by the crown, not the root. If it is dirty or contaminated, gently rinse the tooth off with water or milk and place the tooth back in the socket. Immediately call your dentist.
If the tooth is a baby tooth, do not put it in the socket because damage to the permanent tooth can occur.