For individual apps, you can set a timer that limits the amount you use the app daily.
To set an app timer:
Go to Settings > Digital Wellbeing & parental controls > Dashboard.
Or, Settings > Apps & notifications > Screen time.
When you reach your time limit in an app:
The app timer resets at midnight. To use the app before midnight, go back to the timer in Settings and extend its time or delete the timer.