I'm 17 and found out I'm pregnant. can I go to the doctor myself?

I recently found out I'm pregnant but I haven't told my parents bc they will be pissed. But can I go by myself to the doctor?