You don’t need your parent’s permission to get tested for sexually transmitted diseases (STIs) and HIV, or to agree to treatment for either.
Note, however, that North Carolina offers confidential HIV testing, not anonymous testing. This means that if you get tested for HIV, your results will be privately reported to the state or county health department using your name. That information is not public, though. Testing for all other STIs is anonymous.