Scored this iMac late 2009 for free, the person who gave me it thought it had a graphics issue, one pram reset and software update later, it works great! : r/mac
How to reset the SMC, PRAM and NVRAM on a Mac Desktop - iFixit Repair Guide
How, When, & Why to reset the PRAM & SMC on your Mac