help please

So when my period finished I took the pill at 2.30pm. The day after I forgot to take the pill and took it at 10.37pm. My doctor told me to take it everyday same time. If I continue to take it at 10.37pm for 7 days before sex. Will I be protected? What should I do?