2000 Ford Focus battery storage

I used my car battery for 6 months and junk the car. How can i safe the battery for future use without spoilage?