Before syncing your content, consider using iCloud, Apple Music, or similar services to keep content from your Mac or PC in the cloud. This way, you can access your music, photos, and more on your iOS or iPadOS devices when you aren't near your computer.
Depending on the macOS version your Mac has, you might need to use Finder or iTunes to sync your iPhone, iPad, or iPod touch using your computer. If you have a PC, you will need to use iTunes to sync with your iPhone, iPad, or iPod touch.
If you're using macOS Catalina or later
If you're using macOS Mojave or earlier or a PC
Learn more about using Apple Music or iCloud Photos instead of your computer.