migraines

I get bad cluster migraines and migraines from my TMJ and neck. Any tips to help the pain when I have them and to prevent them?