This screencast explains the different instances in which apostrophes are used.
Source: Melissa Stephenson; Diana Hacker