My computer generates unwanted noise

Hello! When I use my computer for long hours, the CPU starts generating some strange noise as if it were to explode. It starts from a very low intensity and then the noise becomes very loud. But recently I have noticed that even if I just started using my computer, it generates noises so maybe this has nothing to do with the amount of time I use my computer. What could be the problem?
