Weird sleep habit

Danielle
My son is 21 weeks old and going through a sleep recession. The last week he's been doing this wired thing where when I put him in his bed he instantly wakes up and screams, I pick him up boom sleeping in literally 2 seconds. This goes on for over an hour sometimes. When I put him down he kicks, screams and tosses like crazy. Ive tried to wait it out by just patting and rubbing him telling him mommy's here but it's not been working like normal these last few days. He gets so hysterical and then I start crying n pick him up. My husband says I'm forming bad habits not to let him cry. I think he's to little for that but I'm so exhausted I don't know what to do?! Any advice