missing a pill

Autumn
if I only missed 1 pill and I took it the next day and I had unprotected sex like 4 days later (no finishing inside ) am I ok? I usually take my pills regularly