After 3 months of taking cinnarizine or placebo , children in both groups experienced significantly reduced frequency , severity , and duration of headaches compared with baseline measurements ( P < 0.001 ) .