Well, first off, you need to be smart and strategic. Don't act rashly or draw too much attention to yourself too soon.
Surviving as a villain in a novel means being charming enough to get allies but ruthless when needed. You should be able to anticipate the hero's moves and have ways to counter them.