The Scottish Environment Protection Agency has warned communities to prepare for a risk of flooding.