when do you give up? 😴

My son is four months old and going through a sleep regression (YAY!!!!!!!!!) so I'm curious... when do you give up on trying to get your LO to sleep?