sleeping in crib

I started putting my LO in his crib per doctors recommendation to trying to sleep longer then 2 hour stretches and to my surprise he started sleeping up to 5 hour stretch! But that lasted about 2 weeks and he started waking up every 2 hours again. jw if anyone else went through this?! I was really getting use to the longer stretches of sleep!!😣😣