How can I save tracked data in custom table?

Hello,
I’m trying to track progress of a video playtime and I created a custom table for that.
is there any tuto on how I can link/use the custom table? any guidance?
thanks !