PC Is Making Strange Noises

Hi, today when I started my computer and after working for like 2 hours, my PC suddenly began to make some beeping noises. I restarted it, but it’s still making that noise. Is it because the PC is failing? How to fix this?
