You should watch:

Stargate SG-1: Season 1 Episode 16: Enigma

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