Same-sex sex safety

So during my sex education at school, all we learnt was about penis and vagina and how they have sex and how to protect against that. But I like girls the same way I like boys - so how would I protect myself from STD's and STI's when having sex with a girl when I'm also a girl?