Hypothetical scenario

If I was unemployed and got pregnant and got a job straight away as in within a month would I be entitled to any money? I know I wouldn't get stationary but would I get anything? My boyfriend's on 19000 a year...