Good organization is key to keeping your photos in order and online in Lightroom Classic. If you are new to Lightroom, I highly recommend reading my How to Properly Set up a Lightroom Catalog article which will help prevent missing photos in the first place...