If you have a warrenty on it then have Apple fix it. If not then gohead and open up the system and clean each key and clean each contact on the keyboard with rubbing acohoal. If it doesn't work then try a new keyboard. If that doesn't work you can use a USB keyboard or buy a new system.
To live is to let die