First of all, complain to the competent department of the enterprise or the labor inspection department. If you are dissatisfied with the result, you can apply to the Labor Dispute Arbitration Committee for arbitration. It should be noted that it should be within one year from the date of the labor dispute. If you are dissatisfied with the decision or arbitration award made by the labor administrative department, you may bring a lawsuit to the people's court.
Maternity leave is the right given by the state to every working female worker, and no one can deprive it at will.