Need help programming a photocell/relay shield

Oh id like to program this myself but have no idea what to do or where to start