https://www.stephenhicks.org/2022/03/01/comparing-injections-for-sterilization-stds-and-covid/?fbclid=IwAR2YcXUxkTj4IhQKSqM9Sb5KsbmDzlU7eEEMw-SrvZVR51kdrr2_RUvRXN8
In the first case, the answer is simple there is a possibility of discriminating between the embryos affected by the genetic disease and those which are not. The parents then make their decision according to their faith and their convictions. It is therefore useless to constrain. It is the freedom and responsibility of parents that guide our actions.
In the second case, the individual who infects a sexual partner when he knows he is infected with a virus such as AIDS can be accused and sentenced given the seriousness of the infection he has transmitted. It is therefore the law that determines whether there is a need to compel an individual to make reparation and where to be imprisoned for a serious fault since he was aware and he does not protect his partner. If the individual is not aware that he is carrying a virus whose transmission can be serious or fatal, it is up to him to prove it. The fact remains that if the transmission is proven, the damage caused, albeit unintentional, must be repaired. It is the rule of law that guides our response as a society.
But the comparison is not right. The comparison of covid-19 with the two previous cases is weak, covid-19 is an active pandemic with high mortality and for which for months we did not have a vaccine or an effective antiviral. Under these conditions urgent measures are justified and human common sense has recognized this for a very long time; just refer to the Bible, Leviticus 13, the priests were responsible for isolating infected people and checking that they could come out of the isolation because they were cured. There are restrictions of freedom that decrease transmission and avoid deaths in a pandemic. These restrictions are not justified before, nor after and overall not as soon as we have vaccines and drugs to avoid deaths.