Alert after redirecxt

Hi,

what is the best way to show alert after redirect?
After action want to redirect to home page and show alert.

thanks