What system specs does the PC have? You can check this with a tool such as Speccy -
https://www.piriform.com/speccy- Have you taken any notice of what the error specifically states?
- Do you experience any issues while in games, or have you only seen this issue when booting the PC?
- Was the OS of the previous owner formatted and a fresh OS installed when you received the PC?
- Do you know how old the PC is?