Hi,
(a)
She [had] her house [painted] >> Her house was painted by somebody else (a painter)
(b)
She [had painted] her house >> She painted the house herself. [Note: Past perfect generally requires some context, so this sentence could mean that she had painted the house before something else happened.]
(a)
He stopped [to smoke] a cigarette >> He stopped doing whatever he was doing (es. walking, working etc.) in order to smoke a cigarette.
(b)
He [stopped smoking] cigarettes >> He quit smoking. He didn't smoke cigarettes any longer.
(a)
You [must see] him >> It's an order or an advice. "
Look, I've seen this great movie. You must see it!" (advice) -- "
You must see Frank and ask him about the project." (order -- a bit bossy, uh?)
(b)
You [must have seen] him >> Deduction. "
I've heard you were in my office yesterday. You must have seen Claire, my secretary."
This is what I learnt ... and I hope it makes sense.