Sleep habits during 4th month regression

I have heard that babies never really unlearn the sleep habits they acquire in the 4th month sleep regression. Is that true? I am really losing hope because all of a sudden my lo has taken a 180 degree turn and won’t sleep during the day and very hard to put to sleep at night. This is sooo hard.