Esc -programming error

I heard that using analog write will solve my problems

Where did you hear that?