A. Switch to a more stable Wi-Fi connection or try downloading during off-peak hours when internet traffic is lower.
B. Clear the Google Play Store cache by going to Settings > Apps > Google Play Store > Storage > Clear Cache, then try the download again.