Depending on the Mac (laptop vs. mini vs. iMac vs. MacPro) and what's wrong will dictate the cost. Laptops will generally be the most expensive to repair, again depending on what's wrong with it.
Apple will repair the mac's even out of warranty, it will just cost you. I'd search out an apple store, or an authorized apple dealer for a repair or as the other poster mentioned. Do the repair yourself.