How do I use the wah effect on a guitar audio track? Record first, then apply it? Not sure how to use it.

Thanks! Bernie