Redirect Pages.

Hey my friends,

I have a small problem, how do I fix this situation?

SecurityException Object
  "Redirect could not be issued due to headers already being sent. Halting execution for security"