Am I safe?

Last week I had sex with my boyfriend twice. Both times we used a condom the entire time, he pulled out before being anywhere close to finishing, we filled the condoms up after with water to make sure there were no holes which there were none, and on top of all that I take my pill at the same time every day. My period is due in 5-6 days and I had a little bit of slightly yellow/reddish tinted discharge. It only appeared once after wiping. Is this a sign my period is coming or does this mean I’m pregnant???im scared help