Pill and sex

Patricia
Is having sex on a pill and using pull out method safe ? Sometimes im freaked I use my pill correctly never missed it only took it late once the latest was 7h .