Gender discrimination works both ways, by the way. It is possible, although it happens less often, for a man to be discriminated against on account of gender.
Barring a bona fide occupational qualification, any time gender is used in making employment, disciplinary or promotional decisions, that is gender discrimination.
I agree with Stressed that if you post your actual question it will be much easier to help you.