Help with php header

every time I try using header(“Location:http://whatever whatever”)

or any other kind of php header, the browser says

“headers already set cannot set headers”