Feel gross about std?

This year I got 2 stds from same person and I’m really hard on myself about it. I feel dirty and don’t even get wet anymore. I know I should’ve used protection but I guess I shouldn’t have trust him...