In order to survive the 3 hour and 2 minute run time of Avengers: Endgame, you may want to strategically plan for your bladder's needs. If that's unlikely, here's a helpful guide on when to take a break during the movie. Forewarning though, the link does have some mild spoilers.
Also, here's my latest goofy Avengers video.