What if the condom tore open? What can be done to minimize the risk of pregnancy?

May pills ba or gamot na pwede inumin?

Thanks.