Growing with Cornstalk Dracaena

Browns easily

I bought this plant from ikea 2 years ago. For about a year and a half it was thriving and grew quite lush. After that, the leaves were all turning yellow and brown. I cut them all off in my attempt to save the plant which is why it looks like that. I have 2 more of these and the same thing happened to them as well. Not sure what to do anymore but I will try to repot it and see if that helps