Bleeding postpartum

Is the bleeding you get after giving birth painful? Like does it feel like a period?