Welcome to the RStudio community!
You question is rather vague, please provide us with some more information, preferably by creating a reprex. A reprex consists of the minimal code and data needed to recreate the issue/question you're having. You can find instructions how to build and share one here: