To dream that you are swearing indicates that you are being manipulated or abused by someone in your life. You are too accepting of their behavior and you need to assert yourself more.
To hear others swear in your dream implies that you need to pay attention to some issue that you have been ignoring. Perhaps you need to offer your assistance. Someone in your life might require you to defend them.