Custom Character Friction Calculation

When making my own custom character I have to calculate my own physics, but the thing is that I have no Idea how to calculate friction so that it works with DeltaTime since I’m not too good with physics. Does anyone know how to do this?