Having sex

Did you have sex a week after D&C? Did you end up getting an infection? Or was everything okay? The nurse told me to wait two weeks but the doctor said 1 week.