Hi @mohannad ghawi ,welcome to Q&A forum!
Please try the following solutions:
In SharePoint designer 2013 Click on the File tab and then click on Account
In the Account page Click on “Switch Account” as highlighted below.
Type in the credentials of the site you are trying to open(Make sure it is the right account to access the SharePoint site) and restart your SPD.
If it does not work, try to clear the SPD cache and repeat the above steps.
If the issue still persists, I would suggest you uninstall and reinstall SPD and try again.
Similar posts for your reference:
Sharepoint designer error "the version of microsoft sharepoint foundation running on the server"
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.