Fix Wordpress is redirecting to another spam domain/url

Job ID: 34938069

Budget: $10 – $30 USD

My website is looking hacked.
Sometimes, when I click on posts or pages, it directs to another fake/spam website or URL.
If you have experience in this field, let me know. I need to fix it and future protection.
Related categories: PHP Web Security WordPress Web Hosting cPanel