If a person is wearing wig he can do masa on wig n if it’s valid?

Has to do masah on skin because it is wig not his natural hair