Ok, one thing, a male makes billions of sperm every few hours, even if there sat around doing nothing.
There is sperm in pre-cum, so even if he never ejaculated, there is still a risk of being preg.
Yes there is less chance of being preg, straight after your period, but it does all depend on the legnth of your cycle, and when you ovulate, which unfortunatly, I cannot tell you.
I would say the chances of you being preg. Are very slim.
You can take the morning after pill, up to -i think- 48 hours, it could be 72 hours, after you have sex.
If not, wait until your next period is due, and dont stress - I know its hard- because stressing will delay your period, even if you are not pregnant.
If your preiod is delayed, try to wait until one week after your "missed" period, before taking an hpt test, for a more acurate reading.
Advice-
use 2 methods of birth control. So that way, if one fails, like just happened to you, you will have a back-up.
And always use a condom, to prevent stds.
Good luck :)