I know how to find the slope, but how do I reduce it? Like, if I used the slope equation and got 10 over -8, how would i reduce that? ​

I know how to find the slope but how do I reduce it Like if I used the slope equation and got 10 over 8 how would i reduce that class=