Hi!
I understand that the fan on your PC is running fast and making loud noise.
Don't worry I will try to help you out.
Try few steps recommend below.
Close all open Programs and save your work.
Press Ctrl, Alt, Delete, and then click Start Task Manager or Task Manager, depending on your version of Windows, to open Windows Task Manager.
Select the Processes tab, and then to sort the processes by CPU load, click the CPU column header.
Look through the list for suspect processes.
To find more information about a process, search the Internet using the process name that displays in the Windows Task Manager. Look for information that mentions the issue through other reports and suggests steps for resolving the issue.
Refer this document to troubleshoot fan noisy and spins constantly.
Also, If the issue still persists please update the BIOS using this link.
Please let me know the outcome.
Have a pleasant day ahead!