Question: when did rachel sleep with ross to get pregnant?
Answer: In season seven, Ross and Rachel secretly have sex, and Rachel unintentionally gets pregnant.