This tutorial explains how to make an SSR or triac switch.
PCB tinning - • DIY Simple PCB Tinning
Sorry, polarity is exactly reverse of what I'm telling in this video which means where I'm saying -ve make it +ve and vice-versa, however the schematic shown in video is correct.