Modern versions of Photoshop (CC) activate automatically when you sign in through the Creative Cloud Desktop app.
If you paid for a subscription but Photoshop insists you are on an expired trial, your app might be confused. how to activate adobe photoshop