Screen time
With Screen Time, you can access real-time reports about how much time you spend on your iPhone, iPad or iPod touch, and set limits for what you want to manage.
Go to Settings > Screen Time
Tap Turn On Screen Time
Tap Continue
Select "This is My [device]" or "This is My Child's [device]"