Got to Settings - Passwords & Accounts, select your Gmail account.
If you get a popup that asks to enter your Gmail password, then do so, and grant access to whatever information is necessary.
If this doesn‘t happen, remove the account and set it up again. This solves most of the problems with online accounts such as Gmail.