Assuming you don't have a backup.
hold down the option key while starting photos, and see if your old library is listed then. If it is, open it.
Were you using iCloud to sync your photos (If you were, and all your photos are in iCloud then an alternative to the suggestions below is simply to let Icloud sync to the new Big Sur Library - it will take some time, possibly days and you need to keep photos open while it does it)
If not:
1 - In photos preferences (general), check which library is currently being opened by Big Sur, and where it is - post a screenshot of that if possible.
2 - Open finder, and look in your pictures folder. What libraries are in there? (Normally somthing.photoslibrary)
If there is more than one, then the old one will (probably) be the one that is named differently from the one in preferences. If there is more than one of those, you probably need the largest. Open it from the "other library" button above.
3 - If there is only the Big Sur library in pictures, then you are going to need to do a search in spotlight.
In finder, in the search bar, type "photoslibrary". Make sure it is searching "This Mac"
What does it find?