Please help me understand!

Ragan
I had sex July 17th, July 24th and August 12th. The doctor said I got pregnant august 8th! How could that be possible when I didn't have sex the whole week of the 8th? I'm so confused!