If I didn't have a headache, I would go to the cinema.
This is a type 2 conditional sentence. The structure is: If + past simple, would + infinitive.