Indoor peace lily
Why do the leaves get black spots on them?
Certified GKH Gardening Expert
Leaf spots can be due to fungus issues.
Make sure the plant is not overwatered, and that excess water is draining from the soil.
Avoid splashing water onto the leaves.
Here are some links with more information.