Is it safe to cum inside?

I am a 17 year old female and been wanting the feeling of my boyfriend cumming inside but we are so scared to take the risk. Is it safe to cum inside if I take a regular pill? Is there any fail birth pill story?