Which USB ports stopped working?
Case USB ports? Or the ones attached to the motherboard?
If its front panel (on the case) its likely a wire could have come loose. If its motherboard USB ports, then it could be a software change on the computer, or it could be actually broken.