In terms of genetics, you are a random combination of genes from your father and genes from your mother.
It would be a big mistake to think that if your father is stupid, it must be genetics. Genes provide potential, the realization of which is a matter of circumstances. A person can have great potential and screw it up, or he can squeeze the most out of the little that was given.
And even if your father really has some genes that affect intelligence, it is not at all a fact that you they were inherited and that it is the father's genes, not the mother's, will be dominant.
In terms of genetics, you are still an anonymous user)
Whether you are smart or stupid depends on your hard work, desire to learn, curiosity, motivation for success. Go for it!