Why is my pc beeping continuously and not turning on. What I'd like to know is how to prevent it from doing this.

Why is my pc beeping continuously and not turning on. All apps will be removed and windows will be reinstalled.