First of all, quitting is different for each smoker. So, ask your friend how you can be most helpful. This will show that you care and that you really want to help.
Maybe you've already tried to help someone and they weren't successful. That's okay. Remember you can be a big help, but it's not your fault if they aren’t successful this time.