Help please !!’ Posting cause I need help.

Someone help please this has never happened before ...... I accidently forgot to take a pill. I take them at 3pm. And totally forgot now this morning 6am I took it cuz I remembered. Now I wait till 3 pm to take the one for today right ??also. Am I still protected if I have unprotected sex? If not what should i do please. Help me I’m so confused.