Toddler bed problems! Helpppp


So my son was an amazing sleeper. Would sleep 12–14 hours a night on top of that he would take a 2-3 hour nap. A week ago when I went to put him down for his nap he freaked out screaming and crying and then jumped out of his bed. He refused to take a nap and then the same thing happened when I tried to put him to bed. Screaming and crying and jumped out of his crib I finally had to stay in his room with him until he feel asleep. We took the side railing off because we were worried about him getting hurt and it’s been awful he won’t let us leave the room still he screams and cries and if we leave the room he runs over to the door and slams on it until we come back into the room. The last week I have had to sit next to his bed until he falls asleep and it takes him at least an hour. On top of that he is waking up in the middle of the night and it takes 2-3 hours to get him back to sleep. Please help! I’m so tired I don’t even know what to do anymore