Doctors do not have to tell parents if a minor is pregnant unless the doctor believes the minors health is at risk.
A minor can go to a doctor without the parents consent and have a pregnancy test done and as long as the minor is not below 13 years old then the parents do not have to be told.
That does not mean that the doctor won't tell the parents about the pregnancy but some will inform the parents.
However most doctors will not reveal to the parents that you are pregnant or took a pregnancy test unless they really need to be told about it.
The doctor will however talk to you about the pregnancy and let you know your options on whether you should keep the baby or not.
Having to care for a baby and kids is a huge responsibility and is also very costly so you have to be prepared to take on the responsibility.
Children and babies are wonderful but they are also a lot of work and costly.