Waste of money?

Me and my SO did stuff at the heat of the moment and long story short I think I got some pre-cum on my va jay jay I think. Anyone I know precum can get you prego and all that so just in case I took Plan B. And my SO is mad at me saying it was a waste of money because there was no possible way for me to get pregnant. Anyway just wondering was I right to take caution?