Postpartum depression

Can you develop postpartum in the weeks after delivery, like it wasn’t an automatic thing I felt so great at first and now 7 weeks in I’m just SO miserable. I thought it presented itself fairly quickly after but I guess not.