Getting corrected is how you learn. I often spell words wrong, because English isn't my first language, but I don't mind being corrected.
But when to use "your" and "you're" is actually fairly easy to remember. "You're" is short for "you are" and is used when YOU are doing something. "Your" is used when someone else is doing something.
You're sleeping vs. your cat is sleeping.