The right-hand rule is a mnemonic used to determine the direction of the magnetic field surrounding a current-carrying conductor. Point your thumb in the direction of the current and curl your fingers; your fingers indicate the direction of the magnetic field lines.
congrats on reading the definition of right-hand rule. now let's actually learn it.