Replace manual potentiometer with a digital one

We need to know what circuit it is in.
The manual one is 2W.

.