I had a headache yesterday.(根据答语写问句)

问题描述:

I had a headache yesterday.(根据答语写问句)

问句应该是:
What was wrong with you yesterday?
或者:What was the matter with you yesterday?
昨天你怎么了?