To be the best dad is to put your child first, plain and simple, too many times I have seen children are being used as weapons against partners or just used as a money machine, and the child is dumped on a babysitter so they can go out every night, once you have a child you are committed to that child until it grows old.
Try not to do all the bad things that your parents may have done to you, give them all your love, you don't have to be sloppy with them, just show you love them and that you will always be there when they need you for anything.
Encourage your child, too many parents don't bother encouraging their children into doing what they like, but rather what the parent likes. I was never given that chance, my dad would never pay for anything even for extra classes.
One other thing, don't isolate the child, let them mingle with other children, let them play, join clubs, too many children spend their time in their shells because they are insecure around other.
Sorry I'm waffling on, probably making no sense