yes you can get a std from anal sex,vaginal sex, and oral sex
semen,vaginal fluids,and blood all carry std's.
and you big mistake was going from anal directly to vaginal there are tons of bacteria in there that have now been transferred to you vagina i think its just a yeast infection. but come one use protection next time