Using cannabis to treat migraines could make the problem worse.
Researchers at Stanford University found people using cannabis can develop a rebound headache which is caused by medication overuse.
They also say people who used opioids were likely to use cannabis.
This could also be the reason they experienced rebound headaches.