Hi and welcome to Knitting Help.
It's a little difficult to say without seeing it but end stitches can sometimes be loose, especially in the beginning. You can take out the last row one stitch at a time
to undo the mistake. Learning to undo your knitting and fix mistakes is a good technique to have.