Wonder if anybody can help:

After about 20-30 mins after I turn on my PC ut starts to make this loud scratching noise and then freezes saying cant write to drive, any idea how to fix this?