If it's getting hot, obviously that power's going somewhere, I'm guessing you have an input / output state conflict between it and whatever is connected to it. I suggest some current limiting resistors and trace out the logic to resolve this issue, or it could just be fried