There's no way to tell from what you've said.
Is there something obviously physically broken? Does it seem like a loose connection? Or is there some problem with your operating system recognizing USB?
Also, what kind of laptop do you have?
Describe the problem, how it started, and the details of your situation more thoroughly so we can help.