transformer protection circuit

hello all,

I was wondering if anyone has a circuit diagram to protect my transformer.
What type of capacitors would i use, and what kind of safty gap?? is it
linear? ...values of cap??
also, waht does a line filter do? and how is it constructed?