My GP wrote me up for painkillers for during an attack unfortunately they had to be breastfeeding compatible and therefore didn't work! Your GP should be able yo write you up for something to take as and when needed, good luck it's the pits during an attack.