what brand motherboard is it and what is the bios manuf? sometimes different bios co.s have different codes, however it sounds kinda like the cpu fan might not be sending the correct signal to the motherboard all the time.
make sure its connected to the header on the mobo correctlyand securely

side note this thread belongs in the general tech forum not the discussion/buyer guidance