Following that, if Proteus does not make a ready made relay module available to you, then use a transistor and a 1k base resistor to drive the relay. What incidentally was the specification of the relay (coil resistance etc.).
They wont work on 5V. If i put the relays to go on 3v on proteus, everything works.
That is just wrong, so I suspect you are not fully explaining what is happening. Also from your schematic, you can not connect a relay directly to an output pin. You also need a diode across the relay coil to protect the rest of the circuit.
ive made a new post " https://forum.arduino.cc/index.php?topic=524165.0 "
ive made a new post " https://forum.arduino.cc/index.php?topic=524165.0 " there with picture and code. ive made some changes from this schematic. but ill test with diode on the relay