help anyone

26 weeks and 3 days pregnant last appointment doctor told me to not have sex but i forgot and had sex yesterday,do u think something bad will happen to my baby?im very scared