If I understand correctly, you only took your pill 5 hours later than you usually take it.
If you are taking a combined oral contraceptive pill, then that 5 hours does NOT qualify your pill as late or missed and you are still fully protected. In fact, a pill is not considered missed until it is a full 12 hours late. Combined pills have a LOT of leniency as to when you take them.
If it is a progestin-only pill, then you have a problem. It is essential to take progestin-only pills during the same 3 hour window every day. Otherwise, protection can be compromised.