What do I do when IMAP connectin fails and eM CLient can't fix it?

eM Client keeps telling me my IMAP connection doesn’t work and it can’t fix it. What do I do?

Whats the exact error message you are getting, and what IMAP settings do you have ?