Follow the below steps to avoid the Google penalty:
- Your website must be simple, clean and well performing.
- Your website should be mobile friendly.
- Your website should be user friendly. User-experience is very important for Google.
- Check for broken links. Links must not be broken.
- Don’t use duplicate contents. It will decrease your traffic and site rank.
- Use smart keywords and tags.