Since the initial identification of exoplanets (planets located outside our Solar System) in the 1990s, and the first detection of a planetary transit in 2000, the transit technique for detecting planets has been widely used by several space observatories, such as Kepler and TESS. By observing transits in the luminosity of an exoplanet’s host star, it is possible to deduce some parameters of the planet, such as its radius, orbital inclination, and orbital semi-axis. However, a host star can exhibit active regions on its surface, which cause small fluctuations in luminosity when the planet passes in front of these spots. These variations in the light curves during the transit result in a less precise and even underestimated determination of the planetary parameters. Therefore, it is essential to employ techniques for analyzing and modeling these starspots to more accurately estimate the characteristics of exoplanets, taking into account the changes caused by the star’s activity. In this project, a set of Python programs was developed to calibrate, analyze, and model the variations in light curves due to the presence of active regions and fluctuations on their surface, with the aim of improving the accuracy of planetary and orbital parameters, as well as the correlation between impacts suffered by the planet’s atmosphere and stellar activity.