What can I do to keep from getting an sti/std?

See below. 1. Know your partner and his/her history before having sex with them. 2. Use protection - condom for example. 3. Don't have multiple partners - your probability of acquiring an std increases. 4. Get tested often.
Avoid exposure. The best way to avoid an std is to avoid exposure. Condoms will help, but they are not 100% either.