oled

please i want to replace the oled of 4 pin with the oled of7 pin how can I do it ? please help me

Capture.JPG

What have you tried? The 4-pin uses I²C, the 7-pin SPI. There are many examples online on how to use them, and the Adafruit library supports both.

Pieter