How do you determine dog labor is ended?

When the dog stop her contractions and stop huffing and puffing and starts to relax.