People don't ask me for advice toooften, but when they do, I like to try to be some sort of comfort to them. I think the main reason people ask for advice, really, is for comfort or reaffirmation of what they already know. The good thing about this universal fact is that to give good advice, you often don't even have to know things. So, if you want to know how to sound like a useful human being, read on.
For general life advice…
I find quoting others works best for this. “Don’t stop believing,” is a good one as stated in the hit Journey song. Also take a the wise words of Confucius who said, “It does not matter how slow you go, as long as you do not stop.” “An eye for an eye leaves the whole world monocular,” wittily said by author, John Green.
If someone asks you for money advice...
If they want to purchase something for under 50 dollars, you should tell them to go for it. Even if it's something silly, they really won’t mourn the loss.
If someone asks you for love advice…
Honestly, you kind of can't go wrong here. If they’re asking about a crush, tell them something about the importance of being themselves--even if that hasn’t been working for them thus far--and to simply ask that person out. If there’s trouble in paradise, tell them to talk to their significant other about it, not you. Third parties really shouldn’t be getting involved anyway.
If someone asks you about a specific skill...
You probably can't BS your way out of this one. If someone asks you how to jump start a car, quoting Confucius will only get you so far. You have to know how to do that specific thing. So, your options here are to either know the thing, learn the thing, or redirect your friend to someone who does.