If I have unprotected sex two consecutive night and then take EC. Will I still get pregnant?

This is just a question of curiosity.