Depending on your equation, there are different ways to create a fraction.
The simplest way is just to put a "/" in the typing bar. Above, you will see the fraction appear.
If you have a complex equation, you should probably use parentheses to make sure the fraction you want is correct.