Gynecologist questions

I'm worried about going to the gynecologist with my mom. I'm 17 years old and she doesn't know I'm sexually active. If I tell the gynecologist that I'm sexually active will the gynecologist tell my mom that that im sexually active or are they not allowed to release that information if i don't want them to? Any advice, tips, and answers are really appreciated.