Go into Settings -->Store. Select the listed apple ID that is listed at the top. A pop-up will appear and select sign out. This signs out of this account.