Flags are used at all beaches to advise swimmers of sea a green flag means the sea is safe for swimming , while a red flag warns of danger .
It is not advised to go in the sea when the red flag is flying .