Please review this summary of regulatory requirements. You are subject to regulations that limit the number of hours you can drive and use a ridesharing app. You are responsible for monitoring the time you spend driving and using ridesharing apps, including apps other than Uber, and complying with these requirements.
For your safety and the safety of other road users, if you are feeling tired you should consider taking a break and resting before continuing to drive—regardless of what the regulations are in your city.
You can drive up to 13 hours in a 24-hour period.