Basic program to control relay

I am developing a hardware which uses relay. I am unable to configure the GPIOs correctly. Can someone guide me tocontrol a 4 channel relay.

This might be helpful for you.
https://docs.vicharak.in/vicharak_sbcs/axon/peripherals/gpio/