People often confuse these two words.
Use you’re when you could use you are instead.
EG: You’re (you are) the apple of my eye. You’re the pear of my nose.
Use your to show something belongs to ‘you’.
EG. That’s your opinion. (The opinion is yours.)