Any of the digital pins (including the analog inputs) can be set to output using the pinMode command. In setup() pinMode(pin, OUTPUT) will set the pin to output. You will very likely need to drive the relay coil with a transistor as the digital outputs can safetly supply only about 20mA. There should also be a flyback diode across the relay coil to protect the transistor from the inductive kickback when the coil is de-energized. Do you have the specs for the relays?
Features: 8 channel 2 AMP Solid State Relay board Control 8 loads of up to 2 amps each at 120V or 240V AC. Good for lighting, holiday displays etc. With 8 solid state relays: 2A at 100 to 240VAC. (50/60Hz) Size: 130x 60x 15mm Power supply: 5V DC(160mA) Input control signal voltage: (0-0.5V low stage SSR is OFF) (2.5-20V high stage SSR is ON) SSR specification: Manufacturer: OMRON Part number: G3MB-202P, 5V version Isolation: Phototriac Zero cross: Yes Rated output load: 2A at 100 to 240VAC.(50/60Hz) Load type: General purpose Package included: 1 x 8 Channel 5V solid state relay module board
Can you post your sketch? Hard to help someone when they provide very little info. Check out this wiki on relays and the commands required in your sketch. Also for future reference you should look for opti-isolated relays to protect your board.