Review if there are any other devices signed into your account at Settings > [name on top], and scroll to the bottom to view the devices. For any that are not yours, tap on them to remove and follow up by changing your Password.
Change your Apple Account Password:
Change your Apple Account password - Apple Support
To prevent physical access to your device, change the Passcode:
Set a passcode on iPhone - Apple Support
If you were a victim of a phishing attempt where someone convinced you to give them your password by claiming they were a legitimate source, review the information provided here and never call a number or click a link in an email/message and provide any personal information.
Recognize and avoid social engineering schemes including phishing messages, phony support calls, and other scams - Apple Support
Without any further information, such as Social Media usage where you have allowed them to access your Photos, review the information provided here:
Personal Safety User Guide - Apple Support