Let it come out inside me

I wonder, if youre taking pills, are you allowed already or can you let your partner cum inside you? Will it cause pregnancy?