Is there a wrong way to raise a child

I feel like I've raised my 1 year old wrong. It doesn't help that I tried doing stuff the way I want but my boyfriends family doesn't follow my ways and does it there's as they have had kids so they know what they are doing. Now I second guessing everything I've done or tried to raise him