It is not necessary that if you avoid chocolate, cheese and red wine, you will not get migraine. There are many different triggers for migraines, and what may affect one person does not necessarily affect another. For most people, it is not one but a combination of factors that trigger an attack. Hence, you should consult a doctor to find out your exact trigger of causing you migraine.