Proper seal, maybe under innert gas, out of light and at proper temps....
But just keeping freebase is not recommended, somehow the stuff changes slightly over time and the experiences darken alot. Its quite day and night when you compare it with fresh spice though.