What version of the iMac? What Mac OS version? Do "About this Mac" from your Apple menu and post what it says for "Mac OSX Version" and "processor."
iMacs have been in continuous production since 1998 in four broad families, each with different capabilities and issues. Therefore it's important to provide as much info up front as possible when asking about iMac issues.