Are there any iPhone apps that prevent me from using my phone?

I recently got my nanna's old iPhone and I'm addicted to it. I need a way to prevent me from using it at bedtime, whether it's a technique that I can use to help me stop using it, or an app that will physically bar access to my phone after a certain time.

I can't remember the app right now but search on YouTube: "BuzzFeed Phones" and find the one that is about looking at how much they use it. They say the same of the app and I've tested it before and it works. I'm not sure if it prevents but it at least records data about how much you use it.

PS cool nan, having an iPhone. Lol mine have Nokias and when I gave them my iPhone 6 to make a call, they didn't even know to swipe to unlock & wow! Someone else who calls their nan nanna.

Update: It's called the Moment App. Will power! Leave it in another room or just stop yourself going on it It is called self control.

If you can't handle that, ask your parents to take it from you each evening. I have an app called the power button.

Will power! Leave it in another room or just stop yourself going on it

It is called self control.

If you can't handle that, ask your parents to take it from you each evening.

I have an app called the power button.