Can i be pregnant when i just ended my period?

We had sex then its my last day can i be pregnant?