The correct way to use cash advance is to never use it. Seriously they have a totally different (way higher!) APR that accrues from the first day. Read the conditions of your card and calculate how much you'll be paying if you take out $100 for example
Much better to get a personal loan if you are in that situation. The interest will suck but way less than cash advance