The correct option is A you need
The given sentence is a zero conditional sentence. It states a general truth. In such sentences, both clauses are in simple present tense.
If one has a terrible headache, one needs medicine.
Thus, option A "you need" indicates this general truth in simple present tense and is the correct answer.
"You would need" indicates a preference and does not concur with the context.
"You would've needed is prefect tense and is not correct in the context.
"You've needed" is in past perfect tense and is incorrect.
Thus, option A is the correct answer.