can you get an STD if a penis touches your vagina ? (URGENT HELP)

last month , I had sex for the first time and the person tried to penetrate me without using protection . he almost went in but I stopped and then he got protection . is it possible I could still get an STD?. recently there’s been a lot of discharge and it’s slightly yellow and smells really weird (almost like fish) . It doesn’t itch or burn or hurt . I’m really scared . he’s been on tour recently and I don’t know if he got something from the other girls he’s slept with . how do I fix it ? also , I’ve been eating really unhealthy so could that be the problem ?