Stupid question: Forwarding mail

So my stimulus is gonna get sent to an address I no longer live at. Someone told me to have my mail forwarded. Can someone please explain how that works?