A Wiltshire town has begun to pick itself back up after being submerged in flood water.