a quick google will find lots of help, like this one <https://www.makerguides.com/how-to-use-a-relay-with-arduino/>