The past perfect is had + past participle.
Use the past perfect in sentences with two events that both occurred in the past. The event that happened first gets a past perfect construction.
Examples
I had forgotten my keys, so I drove back home again.