There are at-home STD test kits that a person can buy and use themselves to test for an STD. However, it is highly recommended that if you do a home test, and do get a positive result, you should contact your doctor or a public health clinic to confirm the results.
The type of STD test or tests you require is dependent on what the STD is specifically and what kind of testing is needed for that STD.