Proving that an elliptic curve does not have CM

$$\operatorname{End}_{\Bbb{Q}} E^{\mathrm{al}} = \Bbb{Q} \quad\text{or}\quad \Bbb{Q}(\sqrt{-d})\;(\mathrm{CM})$$