Missed a pill and had sex 6 days later?

I missed a pill before I had been taking my pills for a week and then had sex six days later, was I still protected