When is the best time to have a baby shower ?

Just wondering when everyone is planning on having their shower (if your having one) I wanted to have mine when I'm 24 weeks. Is that too early? In worried about having one later because I'm at a higher risk for pre-term labour due to some medical conditions.