When a worker announces she’s expecting a baby, there are definitely some things her employer should do—and should not do—or else face Equal Employment Opportunity Commission charges, lawsuits and bad publicity, according to XpertHR’s whitepaper, “Bumpy Road Ahead: Managing Pregnancy and Related Issues in the Workplace.”

“Making negative comments, involuntarily reassigning an employee based on health and safety concerns, refusing to hire a pregnant employee and failing to provide a reasonable pregnancy or lactation accommodation all may constitute unlawful conduct for which an employer may be held liable, the authors write. “Some employers are learning this the hard way.”