You must be set up in Users & Groups preferences with this Apple ID, on both this Mac and the other Mac. Using an Apple ID: Connect to the other Mac using an Apple ID. If “Only these users” is selected on the other Mac, make sure the login name you’re using is on the list of allowed users. Registered User: Connect to the other Mac using a valid login name and password. Guest: You can connect as a Guest user if the shared computer permits guest access. Select how you want to connect to the Mac: If you’re connecting to a Mac that has screen sharing turned on, and you have the appropriate privileges, you can also click Share Screen. In the Finder window, double-click the computer you want to connect to, then click Connect As.
If no items appear in the Locations section of the sidebar, hold the pointer over the word Locations, then click the arrow. On your Mac, click the Finder icon in the Dock to open a Finder window, then click Network in the Locations section of the sidebar.