Birth control

Okay I need help... If I take the pill a hour or so later then my usual time will it be ineffective or will it still work the same.. Also I had sex protected of course I just wanna make sure everything will be fine. Whether I take the pill at the same time everyday. Will it hurt to be off an hour or two every now and then ?