Magnetic topological semimetals, a novel state of quantum matter with nontrivial band topology, have emerged as a new frontier in physics and materials science. An external stimulus like temperature or magnetic field could be expected to alter their spin states and thus the Fermi surface anisotropies and topological features. Here, we perform the angular magnetoresistance measurements and electronic band structure calculations to reveal the evolution of HoSbs Fermi surface anisotropies and topological nature in different magnetic states. The angular magnetoresistance results manifest that its Fermi surface anisotropy is robust in the paramagnetic state but is significantly modulated in the antiferromagnetic and ferromagnetic states. More interestingly, a transition from the trivial (nontrivial) to nontrivial (trivial) topological electronic phase is observed when HoSb undergoes a magnetic transition from the paramagnetic (antiferromagnetic) to antiferromagnetic (ferromagnetic) state induced by temperature (applied magnetic field). Our studying suggests that HoSb provides an archetype platform to study the correlations between magnetism and topological states of matter.