This paper investigates the nonlinear behavior of a current mode controlled buck-boost converter and explores methods to control chaos through the weak periodic perturbation (WPP) technique. The study shows how variations in inductor current can lead to chaotic behavior, and how WPP can stabilize the system to achieve periodic operation. Simulations using MATLAB/Simulink validate that WPP effectively transforms chaotic behavior into stable periodic states.