It depends on your design...
For example:
Network A----Router----Network B
in this configuration you dont need to configure dhcp relay agent...
Network A---Router----Router2----Network B
In this one you should configure Router2 as a DHCP Relay Agent...
Here is the command.
ip helper-address RouterIP