I'm not sure how to put it properly in words, but I say you should not write any specific details that do not bring anything to the story, but as much as you can (within reason) kinda general details.
Don't know if that has an official name, but what I mean is, for example, someone wears a blue pleated dress reaching the middle of her calves hanging on one shoulder - that is a specific detail that generally means nothing to the reader. You could say it's a cute blue dress and realistically it wouldn't make a difference. It's just something you can specify, but that doesn't really change anything if you do - it's often very helpful if you do though, so do use those things, especially when it comes to romance, mystery, and other stories in that vein, because those are where details can and do matter.
The tentatively named general details though, those are things that have a real, even if very small, impact on the story. For example, you can write about a dirty, poorly lit back alley, but you can also write about a dark, damp alley scarcely lit up by the lanterns from the main street filled with decomposing leaves and trash. One could argue it's just as irrelevant as the previous example, but the thing is that this is a tiny, subtle piece of worldbuilding. It doesn't mean much by itself, but it helps immerse the reader in the story.
A trap I really try to avoid though is overdescribing things, particularly elements of appearance. I've said this more than once here on Scribble, but I believe than when writing, one should focus on impressions and emotions, not details, because the former is what people remember.