Most of us have had a boss we hated for one reason or another—and now you are finding yourself in this predicament. Perhaps your boss is just plain mean, annoying, feels the need to disagree and argue with everything you say, or is simply not the brightest bulb in the box. For any of those reasons, you may be better off just learning to deal with the negative qualities of your boss, or if you really cannot stand him or her, perhaps consider looking for other opportunities.

However, if your hate for your boss stems from other reasons, such as—you are never paid on time, or you are never paid at all—to working long and hard extra hours that you are never even recognized for, forget about getting paid for—then you may have a much more serious problem that requires legal action.

Many bosses break promises, like “sure, you can have that day off,” or “yeah, I’ll give you a raise soon.” While this can be extremely frustrating, unfortunately, there is no legal action that can be taken. But many employees are finding themselves victims of serious broken promises that involves their base pay and overtime wages, to contract violations and more. A boss’s reason for firing you, for instance, may be against the law. For example, if you were recently terminated and you feel it was only because you were pregnant, despite what the reasoning may have been, you may have a case. The Family Medical Leave Act protects pregnant women and those who need to take time off to care for sick family members by ensuring that they are only on temporary leave and will have the same position when they return or a position on a similar level.

If you are boss is overworking you and not paying you fairly, harassing you, or discriminating you based on your age, gender, sexual orientation, religion, race, or nationality, it is highly recommended that you take legal action.

In addition to taking legal action against your boss, it is important to document everything. Write down every offensive comment, keep every memo, note any and all outbursts that are completely out of line or any broken promises. The more documented evidence you have, the better. Be sure to keep it in a safe place, and contact an employment law attorney as soon as possible.