scratch pudding

I recently started making pudding from scratch, and sometimes it gets watery. What am I doing wrong?