Hi, and welcome:
You might want to consider using option buttons instead -- that way you can only select one of them.
However, if you need to use checkboxes, first check the properties on each one to find out what the checked or cleared values are. Then, on each checkbox you can add data validation that is triggered if the other checkbox is equal to its checked value.
Let me know if you need more specific steps.