is everything okay?

okay so i was having sex with my boyfriend and he went to put it in and the condom broke, but we knew instantly when it broke so it was only in once and he pulled out threw it away and used a different one, i should be fine right?