Just making sure

My boyfriend and I had sex a few nights ago but used a condom the entire time and he pulled out. There were no holes and he jerked off to finish after. Also I take pill at the same time every day. Am safe right?