this might work:
Open Settings -> Apps, Force stop and clear cache and data of Google Play Store, Google Services Framework and Google Play Services.
Then restart your phone, connect to the internet and after a while your google play store should work.
Check the Error is fixed if it’s not then going the next method. https://www.errorsolutions.tech/error/error-retrieving-information-from-server/
Solution 4. Restore device to Factory Settings