M.M.
Welcome to sleep training a toddler!
It's much harder than babies, since little personalities are involved. But basically, you need to start from scratch.
Choose a method to extinguish the behavior. Whatever your comfortable with. But recognize that how YOU respond to him overnight will dictate how long this lasts, and what he continues to do.
He's waking up and screaming because he wants you to go in there, and you are. Totally understandable when he's sick. But now it's time to reset the message that night time is for sleeping.
For mine, at that age, he got 1x that I would go in. (I could tell if there was a bad dream involved.) Beyond that, I tucked him in, told him I wasn't coming back until the sun came up. Took a few nights of crying it out to get back to sleeping again. But he got the message.