First, your family is trying to help you. That kind of help in the first few months is super important because you (as parents) will get exhausted and deprived of sleep. So try to keep the good relationship within the family.
Second, if you as a parent do not agree with the suggestions on how to raise your child, simply ignore them. Make your own mistakes. It's your child, not theirs. You will likely hear a lot of "I told you so" as the years pass by, but still it's your child and you raise them however you feel is right.
Later in life it will be harder, especially when you leave your child with your relatives for longer periods of time. This is when they will do everything differently. Just have a serious but friendly talk with them explaining why you think it's wrong, why you're doing it differently, and assume they will still not listen to you and do the way they raised you. That's just the way it is :-)
In the end, it's always best to explain to your child why they shouldn't do something even if their grandparents insist on doing otherwise.
You'll get used to that