You have a warranty still in effect, but it will not cover damage caused by the user unless you have AppleCare+ which may cover the damage. You can also check with your home and/or auto insurer to see if they will cover it. Regardless, you can have the computer repaired at your local Apple shop.
Make an appointment at the Apple Genius Bar for service. If you need to find an Apple Store - Find a Store - Apple. Also, see How to find your nearest Apple Authorized Service Provider (AASP) or Distributor (AAD).
"Your Apple-branded or Beats-branded hardware product (“Product”) is warranted against defects in materials and workmanship for a period of ONE (1) YEAR from the date of original retail purchase (“Warranty Period”) when used in accordance with Apple`s user manuals (refer to www.apple.com/support/country). Under this warranty, you will be able to direct your claims to Apple even in situations where you purchased the Apple Product from a third party.” [Apple One (1) Year Limited Warranty – Accessory - For Apple and Beats Branded Products Only.]