Should I be applying for jobs at 31 weeks ?

Jasmine
Currently been looking for a job but I don't think I should be if I'm about to have a baby and be on maternity leave I'm confused and worried on what I should do