A man holding a red and white flag rides a horse on the beach with a dog following beside .