A strategy for Viper?

I just spent the last hour getting destroyed by Viper. Any suggestions on a tactical approach? I started TF2 yesterday and am still learning.