sex/pregnant?

would I be fine if I had sex and he cummed in me the day before I start my peroid?