Alerts and Prompts

How to use prompts and alerts.