My father for 2 years now can't control his pee sometimes it leaks out and he has accidents no pain nothing it just leaks what could this be?

Conteol. weakness of the muscle that controls the ability to keep urine in the bladder until voluntarily released becomes weaker in some individuals over time and this is likely what your father is experiencing. Please consider having him see a healthcare provider for evaluation and possibly medication treatment.