I'm new to aquariums but fascinated by any fish. My first 37 gal tank is going well but a Molly surprised me with about 40 babies. I put her and her kids in a 10 gal tank and she did it again. I don't know what to do with the little ones

Welcome to AA! Can you put the fry in a separate tank? If not then I would get a breeders net or something like thatcost around $8. You can make some to hold your fry on YouTube if you like saving money!!