Mirena birth control

How soon is mirena effective to have unprotected sex ?