How do i know if an equation has infinite solutions

There are some equations with no solutions, or infinitely many. Equations with no solutions won't be equal when simplified. Equations with infinite solutions will simplify to the same constant on both sides.