can you get STD from a razor?

hello so today I was in the shower and there were no clean razors. I live with my sister and my mom. I started using a razor that was in the shower on my vagina (Sorry lack of a better word) i put some soap on it to clean it before. I don’t know why I used the dirty razor. but after a minute I stopped because I realized my sister could have used it. she likes to sleep around. No judgement to her but she relies only on her birth control pill to not get pregnant, and doesn’t really think about stds. now I’m worried I could’ve gotten one if she used that razor before.. im 23 weeks pregnant and a paranoid FTM so please don’t judge I just need to know if that’s a possibility if she has an STD. she also doesn’t get tested so idk