Servo doesn't work if there is ESP8266

I make a smart panel follow the direction of coming light using LDR, servo and ESP8266 to send the LDR data to thingspeak. After coding the same servo ESP combined, send the data successfully, but the servo does not work, and vice versa. Please enlighten me and the solution. Thank you in advance!

Your solution involves reading the how to use this forum sticky post and asking a proper question. Preferably in an English sentence or two. Posting all code and relevant schematics.

Servo's use a timer for operation, if something else is using that timer then servos don't work. But that is only one potential cause of your problem.