tail wagging problem
Holy cow. How many places have you posted this same question?
You might want to consider the duplication of effort by other people answering your same question
Depending on the inherent stability of your setup, you may only need to reduce the gain of the gyro to make the system stable. Also, make sure there is no stiffness or looseness anywhere in your tail pitch mechanism.
Rob