A. Ensure that you have a stable internet connection. Try uploading when connected to a strong Wi-Fi network instead of cellular data.
B. Reduce the size of the media files before uploading. Use a photo or video compression app to decrease file size, which may help with the upload process.