I don’t want to have a Defect babby

Patient: I was 4weeks pregnant, I was having this hotness in my stomach so I took an ulcer drug,after some hours,I had sex with my partner, after the sex I stood up to wash up but all I saw was that I was bleeding, I wash up immediately and the blood stopped. The next day I went for a test to confirm if I was still pregnant and the result was positive. Please I am confuse about the blood I saw, I hope it won’t affect my baby ? I am scared of having a defect baby, please help me.