Oled not displaying everytime i upload blynk code

You can’t use GPIO27 as an analog input when you’re using WiFi, because GPIO27 is connected to ADC2, and the ESP32 doesn’t support ADC2 and WiFi at the same time.

You should read this, and choose an ADC1 pin instead…

There are quite a few other issues with your code though, which will lead to problems with Blynk in future.

Pete.