Work and pregnant help need advice

I am 25 weeks and 3 days I haven't told my boss at work I am scared that I might lose my jobs and I can't afford that! I work there part time and been there for a year I don't know if they have the right to fire me ! What do I do help