A red flag warning is in effect for Rehoboth beach due to dangerous surf and rip currents.