if the patch as come loose after multiple washings you can use that to replace the patch or you can use fusible webbing.
iron on patches have fusible something on the back of them which is what makes them able to be ironed on so you don’t need any other type of glue.
you can also sew around the edges of the patch to keep them in place.