Flogging with a whip or scourge suggests punishment and the atonement of sins.
Psychological / Emotional Perspective:
Flogging someone else means we have to be careful that we are not attempting to impose our will on or torture the dream figure. Flogging in the sense of selling something suggests that we have to be aggressive in promoting our ideas.
Everyday Material Aspects:
Any violent act against the person usually indicates some form of punishment. To dream of being flogged would indicate that we are aware that someone is driving us beyond our limits, often in an inappropriate manner. Flogging ourselves would highlight a type of masochism in our own personality, which may be inappropriate and suggest self harm.