Everyone wants to go to a workplace where they feel unthreatened and free of harassment. Imagine going to work every day and facing sexual harassment, harassment for your cultural background or discrimination because of the color of your skin. It’s never a good situation to be in.

For people who face harassment from coworkers, it’s a good idea to look into your options for ending the harassment for good. Quitting isn’t the right choice, since you need to make sure others know what’s happening and that those harassing you are held responsible.

What should you do if you face discrimination in the workplace?

Start by talking to your employer. If coworkers harass you, it’s your employer’s responsibility to stop that harassment. Make it clear that the conduct isn’t welcome, so your employer has no choice but to hold up anti-discrimination laws in the workplace. Make sure your employer knows that if this incident isn’t investigated, you’ll go to the Equal Employment Opportunity Commission.

Keep track of harassment from the first time it happens

Whether you thought it was a bad joke or a one-time harassing comment, write it down. Your attorney needs to know dates and names to help you make a case against those treating you unfairly. If you’re sent rude emails, text massages or other documents, keep them for your case. Make copies and keep them in two or more separate places to guarantee you don’t lose them or that they aren’t taken from you.

Know which law supports your complaint

Know which law is applicable to your case. For example, if you’re an older worker, age-discrimination laws may protect you against harassment or discrimination in the workplace. Likewise, women are protected by Title VII of the Civil Rights Act of 1964.

Take your time preparing to make a claim. If your employer doesn’t stop the harassment, you’ll have the evidence you need for a strong case.