STI and other diseases

How can you get tested for STIs and how much does it cost of it costs anything