Take the missed pill as soon as you remember. Then go back to taking the pill at your regular time. It is okay if this means you'll take 2 pills in one day.
If you were than 3 hours late taking your pill, it was a "missed" pill and your pregnancy protection is reduced. You should either avoid sex or use a backup method of birth control like condoms until you've been back on the pill for 48 hours.