We didn't go to the party last night because we have had a fever
Or
We didn't got to the party last night because we had had a fever
I know the past perfect describes an completed before a certain moment in the past. Past perfect to express an action whose time isn't given and not definite. But here I don't understand which tense would be correct to use. Please help!