Sex discrimination is when you are treated differently because of your sex.
The treatment could be a one-off action or could be caused by a rule or policy. It doesn’t have to be intentional to be unlawful.
You can find out more about sex discrimination on the Equality and Human Rights Commission website here.