Bandwidth Part (BWP) switching/operation can be done by several different ways such as:
Dedicated RRC Signaling
Over PDCCH channel Downlink control information (DCI)- DCI 0_1 (UL Grant) and DCI 1_0 (DL Scheduling)
By bwp-inactivityTimer – ServingCellConfig.bwp-InactivityTimer
By MAC CE (Control Element)
Reference: 3GPP 38.321-5.15