Will My Doctor Tell My Mom?

So I’ve came off the phone with my doctors discussing contraception. She asked me what age my boyfriend was, I said 18 ( i’m 17) . She was telling me it is illegal and that I need to be careful with that sort of thing. I told her I’d been through a rough patch with sexual assault, and that i was only CONSIDERING, having sex with him, but now i can’t help but worry if she’ll tell my mom and tell her to keep a look out for me or something. It would be a sex offense if i did have sex with him but i haven’t yet, my main cause was to ring about the pill for my periods, not sex. i’m scared