Upgrading the HD in an iMac is not for the faint-hearted, as you have to remove the screen. If you're not extremely comfortable with dismantling/repairing computers, I'd suggest taking it to an authorised service agent for the upgrade.
If, however, you're brave, you'll find iMac harddrive upgrade instructions here