no sex after spotting?

Br
I've been having brown spotting which I know is totally normal. My obgyn told me not to have sex for two weeks after it has stopped but I've had it every day for a good month. Not saying she's wrong because she's the professional but has anyone else heard this?