Not sleeping through the night until 1 year old...

So my baby is 4 months old. He’s always been a pretty good sleeper. He got sleep regression at 3 months it lasted about a week and a half. He’s currently sleeping through the night. He’s gonna be 5 months in about a week. My question is for the moms who have had a good sleeper for their first child and a “bad” sleeper for their second child. How did you get through it ? Did you follow the same techniques and somehow turn them around. I’m not anywhere near ready to have another one but I’m just curious.