Help 😩😩

For the past three nights my 22 month old has been completely refusing to go to sleep. He’s never had a problem with it before, he’s always laid down on his own and went right to sleep. Now when it comes time for bed and we go to lay him in his crib, he screams & no matter what we’ve tried, he still continues to scream and just refuse to sleep. I don’t want to get him into any bad habits like pulling him out of his crib and letting him get up because the first night he was up until 3:30 in the morning. But, I literally feel like I’m losing my mind and don’t know what to do. I’ll take any advice 😩