Fast Fourier Transform

Hello, i’m a middle school student. My project is to create an app that measure tremor frequency (hertz) by holding the phone. Right now, i need to use FFT function(Fast Fourier Transform) However, i’m struggling to find an example how to use it. I’ll keep trying. But if anyone has a suggestion, please tell me
Thank you