Learn first: The passive voice
Conditional sentences express "if…, then…". In German a real condition uses ordinary tenses, while an unreal (imagined) condition uses Konjunktiv II. English makes a similar distinction: "If I have time, I’ll come" (real) versus "If I had time, I would come" (unreal). Konjunktiv II is used not only in conditionals but also in polite requests, wishes and advice, which makes it one of the most important exam topics. It is closely linked to word order in subordinate clauses, to Präteritum forms and to the Perfekt (haben or sein).
The condition can come true — Präsens (or Futur):
Wenn es morgen regnet, bleiben wir zu Hause.
Wenn du Zeit hast, ruf mich an!
wenn is a subordinating conjunction: the conjugated verb goes to the end of its clause. If the wenn clause comes first, it fills position one as a whole, so the main clause starts with the verb (…, bleiben wir…). If the main clause comes first, normal order applies: Wir bleiben zu Hause, wenn es morgen regnet.
falls means "in case", for a less likely condition: Falls du Fragen hast, schreib mir. The main clause can also start with dann or so: Wenn du Zeit hast, dann komm vorbei.
Real conditions also express general truths: Wenn man Wasser auf 100 Grad erhitzt, kocht es.
For most verbs — würde + infinitive (the infinitive goes last):
ich würde · du würdest · er würde · wir würden · ihr würdet · sie würden + infinitive
Ich würde gern nach Deutschland fahren.
Key verbs have their own forms (from the Präteritum stem, often with an umlaut):
sein → wäre · haben → hätte · werden → würde
können → könnte · müssen → müsste · dürfen → dürfte · sollen → sollte · wollen → wollte · mögen → möchte
literary: gehen → ginge, kommen → käme, wissen → wüsste, geben → gäbe
With sein, haben and the modal verbs, würde is hardly used: ✓ Ich hätte Zeit (✗ Ich würde Zeit haben — rare).
Person endings: ich wäre · du wärst · er wäre · wir wären · ihr wärt · sie wären; ich hätte · du hättest · er hätte · wir hätten · ihr hättet · sie hätten. Note that sollen and wollen take no umlaut, so their Konjunktiv II looks the same as the Präteritum.
A condition that is not true now or in the future and is only imagined:
Wenn ich Zeit hätte, würde ich dir helfen. (in fact I have no time)
Wenn ich du wäre, würde ich das nicht machen.
Wenn ich reich wäre, könnte ich um die Welt reisen.
Both halves use Konjunktiv II: the condition usually has a special form (hätte, wäre, könnte) or würde, the result more often würde + infinitive.
Without wenn, the conjugated verb comes first: Hätte ich Zeit, würde ich dir helfen. This style is more common in writing.
Ich habe kein Auto, deshalb fahre ich mit dem Bus. → an unreal conditional.
Something that did not happen in the past, and its result — nothing can be changed now:
hätte/wäre + Partizip II
Wenn ich früher aufgestanden wäre, hätte ich den Bus nicht verpasst.
Wenn du mich gefragt hättest, hätte ich es dir gesagt.
The choice of hätte or wäre follows the Perfekt rule for haben/sein exactly: verbs of movement and change of state take wäre, the rest take hätte.
With a modal verb there are two infinitives: Ich hätte kommen können. (I could have come, but didn’t), Du hättest mich anrufen sollen. (you should have called me).
Mixed cases exist too: a past condition with a present result: Wenn ich gestern nicht so lange gearbeitet hätte, wäre ich jetzt nicht so müde.
Wir haben den Zug verpasst, deshalb sind wir zu spät angekommen. → an unreal past conditional.
Phrases for polite requests and advice are very useful in the speaking and writing parts of the exam (letters, dialogues).
To decide which type a task needs, look at the situation:
wenn can also express time: Wenn ich nach Hause komme, esse ich. ("when(ever) I get home"). For a single past event use als: Als ich nach Hause kam, aß ich. And for an indirect "whether" question you need ob, not wenn.
Leider bin ich krank, deshalb kann ich nicht zur Party kommen. Write a suitable conditional sentence.