$$ \begin{aligned} \frac{1}{a}+1 &= 0&& \text{multiply ALL terms by } \color{blue}{ a }. \\[1 em]a\cdot\frac{1}{a}+a\cdot1 &= a\cdot0&& \text{cancel out the denominators} \\[1 em]1+a &= 0&& \text{ move the constants to the right } \\[1 em]a &= -1&& \\[1 em]a &= -1&& \\[1 em] \end{aligned} $$