A straightforward but complex answer would be to reach 100% completion, which would unlock the perfect ending. The secret ending is nothing special, it's just a scene wherein Tidus and Yuna revisits Zanarkand. It's just a nice little touch or a bow per se to wrap up the series' ending in general.