Clean it, as the feller upside suggests, otherwise get a refurbished HP desktop (if we’re talking desktop) AMD CPU (less costly), I’ve got one with no problems. For a laptop, I recommend less popular brands such as Toshiba or ASUS.
Stay away from cheap brands, or buy a no-brand assembled computer from a small local dealer with good reputation.
AMD isn’t really any cheaper nowadays. Especially at the low end.