You can get library books on your Kindle through Amazon's partnership with OverDrive using a library card, Wi-Fi connection, ...
You can return a Kindle book that you accidently bought, but you'll need to do it within a week of buying the book.