It is important to know that you’ve got rights when you become pregnant while permanently employed.
To discriminate against a pregnant woman is a form of sex discrimination. Your employer is also not allowed to take away job responsibilities from you or deny you a promotion just because you are pregnant. Any form of harassment is prohibited under the law and is illegal.
According to the Pregnancy Disability Leave Law, you are allowed to take time off for severe morning sickness, pre-natal or post-natal care, recovering from childbirth and even for the loss of a baby. If you can work, your employer should also reasonably accommodate you by modifying work practices or allowing you to take frequent breaks. They cannot force you to take leave just because you are inconveniencing the company.
Unfortunately, there are employers who will not let you take leave when you need it, harass you, or discipline you because of your pregnancy. It is discriminatory and you are within your rights to speak to a lawyer.
If an employer discriminated against you because of your pregnancy, you should be able to recover past- and future wages. You can also sue for emotional distress, attorney fees and in some cases punitive damages will also be awarded.