To keep Gboard from stopping unexpectedly, make sure that it's set as the default keyboard, is fully updated, and has a clear ...
To update Google Play Services on your Android device, head to the "Apps & Notifications" menu in your settings.