But what if the condom split?

When condom breaks. When the condom breaks intercourse is stopped and a new condom is put on the erect penis. If ejaculation has occurred then emergency contraception should be considered.