pulling out

I'm on the pill, and my bf pulls out! The other day he slipped out early and looked down and there was cum on his dick, it was white! we weren't sure if it was from me or him! Is there any way you can tell? Birth control isn't always effective, that's why I am abit concerned