Camunda saving data from the previous task

I created a bmpn program
in the first task is a user task there i built an interface where i simply enter data
next task i want this input to be saved in my database
do you have an idea how i do it