Sex while on the pill????

If I have sex without a condom while on the pill should I be okay? He did not cum in me.