On my iPhone, how do I change the Apple ID that automatically pops up in the Apps Ap?

I have gone into settings and changed it there successfully, but the old email still pops up when I try to use the Apps store.

If you have apps that the old owner has that you don't want to delete then try restarting it. If not then put it into dfu mode and connect it.once thats done don't restore it. If the computer says that its in recovery mode then you can disconnect it. After that take it out of dfu mode and try that.