Do I need plan B?


My boyfriend and I were having sex and then we realised the condom had come off. He didn’t cum though. What should I do? I’m not on birth control and we don’t know how long the condom was off for. Please help!!! Do I need to get plan B pill? I’m only 16 so is there age restrictions on it?