Missed period

Patient: I hv missed ma periods,i had sex bt never was ejaculated in n recently i also had 2 benedril cough syrup for d sake of sleep is it coz of it i hv missed ma periods or r der anychances of pregnancy.i also have been consuming i pil however for past two months i did not take dem