SSD1306 1.3" OLED – How to switch from SPI to I2C?

I was told where I bought it that it supports both.