How long do you wait until you fell like your ghosted

I’m very impatient when it comes to waiting to hear back from a recruiter or company. How long do you wait till you lose hope? I’m trying to get myself to be more realistic. :,)