To divorce your husband, you file for divorce against your husband. It has nothing to do with the guardianship.
If the guardianship is through the courts, your divorce won't end the guardianship - you would have to fulfill whatever conditions the court set to end the guardianship. Laws are different for each state.

