Pennsylvania’s primary election is a “closed” primary.
In order to vote for a particular candidate you must be registered with the party with which that candidate is running.
Register / Check your registration:
Pennsylvania Voter Services
Find your polling place: