How can i fix my drop down button

I need help to fix my drop-down button changing the value in the database e.g if the user selects “No” as an answer if it get to the database it will change to “yes” automaticaly