One solution is Download youtube videos to iphone, read https://www.macworld.co.uk/how-to/iphone/download-youtube-videos-iphone-ipad-3636901/, to verify if your problem is the internet connection, your mobile data may have run out.
The other is to verify if the youtube app you have installed is the most updated, if not, update your app