Though I'm not sure, I think what you are asking is how to use an iPhone 5s on an older iPhone docking station. If so, my recommendation is to buy and a 30 pin to 8 pin adapter. Here is an example:
Apple sells one as well called a Lightning to 30-pin Adapter for about $30. Here is that link: http://store.apple.com/us/product/MD823ZM/A/lightning-to-30-pin-adapter
It all depends on the form factor of your dock and whether the added size of the adapter will still allow your phone to sit on the dock. There may be some smaller, slimmer ones. If the phone doesn't fit on the dock with the adapter in place, you could also buy a iPhone 5s extension cable and just cable your phone to the dock and adapter.