No sex?

I’m 5w 6days and my doctor told me not to have sex until after my first appointment? August 19th 😫

Anyone else been told this?