Unprotected sex on the pill

How safe is it to have unprotected sex on the pill? Like if he cums in you