Thanks plsubbu for your reply.
However I have still one more doubt.
Can't I say, "If I were rich, I would have quit my job."
So when do we use "would" and when do we use "would have"?
b14kumar, maybe this will help you
Will + (base verb)
E.g. If I win the lottery, I will give half the money to GMATClub
Past tense + (would/could + base verb)
E.g. If I won the lottery, I would give half the money to GMATClub
Past perfect + (would/could + have + past participle)
E.g. If I had won the lottery, I would have given the money to GMATClub
Don't be afraid to take a flying leap of faith.. If you risk nothing, than you gain nothing...