Condom broke

What do I do immediately after the condom split? Also I can't take tablets