There are different answers depending upon which model Captiva you have - which you havent told us.
Where in the World are you - you havent told us. Our crystal ball is not working currently!
You'll find helpful Tips on using the Forum here:-
https://www.chevroletownersclub.co....ub.co.uk/forum/11-main-message-centre/6693-helpful-suggestions-using-forum.html
If you use the Forum Index Search function you can find the previous discussions on this subject.
Go to Tools>Advanced Search>(question/topic)>Captiva
Certain Captiva variants can be done by the Owner and others are only via ODBII diagnostic equipment (usually by dealer). You need to provide more info.
Importantly what was the cause of the Warning Lamp. That needs to be addressed otherwise the illumination will continue.
.