First, add, subtract, multiply, or divide within the parenthesis (if there are parenthesis). Then, you do the exponents. After that, you multiply and divide left to right. Finally, you subtract left the right.
Order of Operations is also known as PEMDAS or Parenthesis, Exponents, Multiply, Divide, Add, Subtract. It means if we have an equation that is:
5 + 6 x 2, we do not add first. We multiply first, so we do 6 x 2, which gives us 12. 12 + 5 = 17 and that is your answer.