If you don't have a thermometer, you can watch the cut end of the pieces for the change from translucent pink (red arrow): undercooked, to opaque (green arrow): cooked.
Remove from the heat immediately as soon as the centre turns opaque.
As a general rule, you should allow 3 minutes cooking per side.