wp_redirect shows header already sent message

wp_redirect shows header already sent message

tech