How long do you take prenatal vitamins?

This may be a stupid question...but do you take prenatal vitamins right up until you give birth? I'm 35 weeks pregnant and just finally ran out of my prenatal vitamins. Was wondering if I should bother buying more. Not trying to be cheap, just honestly curious lol.