a digital filter needs additional informations, like sample rate
--> there are many documents, tutorials, videos an how to do this.
FIR, IIR, biquad....
there are even calculators for calculating the filter taps values.
So what did you do so far?
Show your effort then there will be many people to help you with the details.