Swearing dream of at someone represents your dislike of being told what to you or forced into something.
To dream of being sworn at represents a person or situation that doesn’t like your ideas or method of control. Someone may not like you telling them what to do.
To dream of swearing to express regret represents feelings of not liking knowing you’ve made a mistake. You may believe that a mistake you’ve made is the dumbest thing you’ve ever done. Disbelief or anger at yourself.