Skunks generally do not attack people unless they feel threatened or cornered. They will typically only spray as a defense mechanism when they believe they have no way of escape. The best way to avoid being sprayed by a skunk is to give them space and allow them to move away on their own.