Doctor said no sex

Erika
So went to the doctor today,, he told me no intercourse..Nothing up the vagina... My boyfriend came home and I'd how it happened... it just did.. I did not think until it was over.. Will I be ok?? Will my baby?