When is the right time to have a baby shower

When is the right time to have a baby shower? Should you have it early in the pregnancy, late in the pregnancy, after the baby is born? How far along where you when you had your baby shower?