Try pressing F8 as the computer boots past the Bios screen, then select safe mode, see if it boots ok like that. If it does scan your computer for viruses while in safe mode, also this can sometimes be a software driver playing up, have you installed anything new lately?