1. Launch Safari
  2. Click on Safari
  3. Select Preferences and then Privacy
  4. In the Block Cookies section, select the preferred cookie management option.
  5. To see which sites have stored cookies on your computer click on Details

For further information, please visit the dedicated Apple page