Hey,
The fan will be getting loud due to the computer overheating. It will not be the cause of it.
To cool your computer down, try opening it up and blowing out the dust with a can of compressed air. Also, it that doesn't work, replace the thermal compound between the CPU and CPU cooler.