Is the hospital bill for labor typically paid at the hospital or does the bill come after the fact?

I know some ladies have to actually pre-pay. But for those that didn't.

Thanks!