could be a number of things. Hard drive may be failing - backup critical data & run chkdsk (& manufacturer's utility would be good idea too).
Could just be loose/damaged IDE connector - check in the case.
PS. Some history to this would be useful (has it always done this, if not, any hardware/software changes, crashes, viruses shortly before it started etc)