Work and pregnancy

I've been working at my place for 5years waiting for the opportunity to be promoted. I got my chance but just found out I'm pregnant. Can they retract my contract if they found out. I'm on probation for 6 months. Any advice x