It's a bad idea to leave a bare wire in the box, so even if the wire is dead, you should put a wire cap on it. It's a good idea to call an electrician if the wire isn't dead.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.