This should ideally not happen. However if any photos are accidentally deleted, you can still recover them.
Go to Photos -> Click on Album at the right bottom corner -> Click on Recently Deleted album -> Select one or all and click on Recover. Check if it works. Cheers.