How do I tell my girlfriend about an std?

The truth. You need to tell her the truth and exactly how your acquired it, because she will need to be treated as well. She deserves to know even if you are afraid to tell her...