There are a few things you can consider to fix such issues. These issues are pervasive, but they are a consequence of a few simple mistakes. The solutions include verifying your internet connection by ensuring that it is stable, making sure that you are entering correct credentials as incorrect credentials can cause Gmail login problems, and lastly, confirming that it is not an obstacle arising by a firewall or antivirus software as they can sometimes cause issues by blocking sites.