There is, unfortunately, no yes or no answer to this, especially not on-line. However, these information can help:
There can be various underlying causes of fainting, mostly cardiovascular or neurological. It is important to note that same pathophysiological mechanisms may be a part of different clinical syndromes. Some of these (classification adjusted for laypersons) include:
vasovagal syncope (neurocardiogenic syncope)
orthostatic syncope (usually caused by orthostatic hypotension) - this is a subset of syncope caused by peripheral circulatory impairment
various cardiac problems
hypoglycaemia
hypoxia
reflexive anoxic seizures (RAS)
loss of consciousness can be caused by an epileptic seizure or even a stroke, and should be distinguished from a syncope.
etc.
The fact that you faint after standing up is certainly one component of it, but as this article suggests, even that can be classified under different clinical syndromes (peripheral circulatory impairment or neurocardiogenic syncope, e.g.). This is why it is best practice to have this condition checked by a physician. Diagnosis cannot be made on-line.
To answer your other question, whether the condition is hereditary, it may, but doesn't have to be. The only way to determine this is to find the cause of fainting in both cases, that is in your and in your father's case.
On a general note, conditions caused by genetic disorders (i.e. mutations) may be monogenic (mutation is found on a single gene) and polygenic (mutations are on several genes, and one has to inherit more than one, for a condition to manifest). Than, there is a matter of a pattern in which the condition is passed on - whether the condition is dominant or recessive (i.e. whether the condition will manifest itself if you have the gene for it from one parent, or only if you inherited a certain mutation from both parents). In the end, there are multy-factorial conditions:
Very few health conditions are only caused by genes – most are caused by the combination of genes and environmental factors. (from NHS).
The claim very few is, as anongoodnurse noticed, proportional to overall number of diseases, but there are still a lot of conditions that are genetic.
So the matter of whether the conditions in a parent and child are connected isn't always straight-forward, but the place to start is definitely to determine the aetiology in both cases, which can be done by a physician (in person).
References:
Essentials of Clinical Neurology: Neurology History and Examination Chapter 8: Episodic loss of consciousness
NHS: Fainting - Causes
NHS: Genetics - Genetic inheritance