Download the iOS 7 IPSW file for iPhone 5s from a trusted source.
Apple has stopped signing iOS 7 almost a decade ago. This means a "standard" restore via iTunes or Finder is impossible. You generally have two scenarios: how to downgrade iphone 5s to ios 7