An opto coupler on a 3-pin relay board is like tits on a bull.
A module with opto coupler MUST have four pins if the opto coupler is to be used.
VCC/GND for the relay coil (separate supply), and IN/GND for the opto LED.
If you don't need opto isolation, then ground the two ground pins to Arduino ground.
Leo..