You should watch:

Stargate Atlantis: Season 5 Episode 12: Outsiders

Perhaps you might want to check out The Order of Watching Stargate