I need help... Please

Okay so I don't mean to come across as an idiot or what have you, but can you get an STD from say a public restroom or anywhere else? I went camping and was actually terrified to use their restrooms...