The axis-rotational evolution of exoplanets on close orbits strongly depends on their magnetic and tidal interactions with the parent stars. Impulsive perturbations from a star created by periodical activity may accumulate with time and lead to significant long-term perturbations of the planet spin evolution. I consider the spin evolution for different conditions of gravitational, magnetic and tidal perturbations, orbit eccentricity and different angles between the planetary orbit plane and the reference frame of a parent star. In this report I present a summary of analytical and numerical calculations of the spin evolution, and discuss the problem of the star-planet magnetic interaction.