Pages will only exist if there are measures on them. You can delete empty trailing measures from the Tools menu. Any resultant empty pages will also be deleted.
If the measures are not empty you will have to decide whether you want to keep them or not. If not you can delete measures completely with CTRL+DEL.
MuseScore uses exactly as many pages as are required to display all measures. If you have blank measures at the end that push onto one or more otherwise blank pages, delete them with Tools / Delete empty trailing measures. If your score has blank measures anywhere other than at the end, select them and press Ctrl+Delete. If you have completely blank measures at the end, you might have extra Page Break characters. Select them and Delete.
If none of these describe what you're seeing, attach your score here and we can take a look.
Comments
Pages will only exist if there are measures on them. You can delete empty trailing measures from the Tools menu. Any resultant empty pages will also be deleted.
If the measures are not empty you will have to decide whether you want to keep them or not. If not you can delete measures completely with CTRL+DEL.
See https://musescore.org/en/handbook/4/adding-and-removing-measures#delete
MuseScore uses exactly as many pages as are required to display all measures. If you have blank measures at the end that push onto one or more otherwise blank pages, delete them with Tools / Delete empty trailing measures. If your score has blank measures anywhere other than at the end, select them and press Ctrl+Delete. If you have completely blank measures at the end, you might have extra Page Break characters. Select them and Delete.
If none of these describe what you're seeing, attach your score here and we can take a look.