For C=C or triple bond is very simple, just consider a vinyl substituent -C=C-H, it will be considered like -(C-C-H)2.
For cyclic compounds is not very problematic if you remember to consider only the first atom bonded to the chiral centre, and only if 2 substituents are identical, follow the ring only 1 more atom, then reapply the rules, go on until you find the correct stereochemistry. (in 99% of compounds you don't need to reach the 3rd atom for the determination of the stereochemistry).
I hope this will help you, i know this is not a great explanation, if you want i'll post 1 or 2 examples explaining this problems.