24v relay

How to energize the 24v relay using the signal from the arduino??

See Connecting a Relay to Arduino - Make:. It shows a 5V supply and 5V relay but is equally applicable to a 24V supply and relay.