Afraid i could be pregnant

Patient: He ejaculated near the mouth of my vagina 4 months ago and i took a birth control pill.is there any chance that i could be pregnant?

Doctor: