There are several problems here.
- Firstly, as @jrd1 has linked, the way you cast - cin>>nis incomplete. Your program's function appears to require some kind of validation, but- cinfails if the input is not numeric (see the use of- cin.fail()in integer input validation, how? and Integer validation for input). You must check if- cinhas failed, and refresh- cinfor the next round of input.
 
- One of your - ifstatement and- whilestatement is redundant, since- ndoes not change between the evaluation of- whileand- ifon the subsequent loop.
 
- Since you must check if - cinhas failed, there is no need to additionally check- isdigit(n). That is, if- cindid not fail, then- nmust be a digit.
 
- Your - continuestatement is redundant.- continueskips to the end of the loop, but this is not necessary since all the remaining code is in the- elseblock, hence there is nothing to skip over. This is only useful if you want to skip any code after your- ifblock (which your code doesn't have).
 
- Your intention with the - elseblock appears to indicate a successful validation. You may consider using a- breakstatement, which breaks the code execution out of the current loop.
 
Once you take into account of all of these, you will arrive at something like @R-Sahu's code.
This is an example that most closely resembles your code:
#include <iostream>
using namespace std;
int main() {
    int n;
    do {
        cout<<"Enter an integer number\n";
        cin>>n;
        if(cin.fail()) {
            cout << "Wrong Input" <<endl;
            cin.clear(); 
            cin.ignore(std::numeric_limits<std::streamsize>::max(), '\n'); 
        } else {
            break;
        }
    } while (true);
    cout<<"Good Job\n"<<endl;
}
Here is another example that is "more" streamlined, and does not require break or continue statements (stylistic choices for better "readable" code by some programmers)
#include <iostream>
using namespace std;
int main() {
    int n;
    cout << "Enter an integer number\n" << endl;
    cin>>n;
    while ( cin.fail()){
            cout << "Wrong Input. Enter an integer number\n" <<endl;
            cin.clear(); 
            cin.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
            cin>>n;
    }
    cout<<"Good Job\n"<<endl;
}
EDIT: fixed a problem in the second example where ! cin>>n was not behaving as expected.
EDIT2: fixed a problem in the first example where isdigit was incorrectly applied. See R Sahu's explanation.