You can check if you have any penalties in Google Search Console, under Security and Manual Actions. If you've received one, you can read Google's guidelines on how to fix each action.