If your generator is separate from the rest of the system, you need to use a grounding rod. There is no need to provide a ground in connection if your generator is not a separate system.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.