You should watch:

Stargate Atlantis: Season 1 Episode 8: Underground

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