in which I can use the structure "she don't" instead of "she doesn't"? This doubt came to me because of a song, and I ask myself if it's right
Well, the word "doesn't" agrees in singular number with the word "She":

I don't
you don't
s/he doesn't
it doesn't
we don't
they don't

so "She doesn't" is the Standard form. As for "She don't", well, it's not the Standard, but that's not to say speakers don't or wouldn't use it.
As the "voice of the people", a song may be using language that is non-standard. The song most likely uses the language of those people that the song writers are trying to appeal to. These people are not necessarily doctors, lawyers, and university professors.

I don't recommend learning English on the basis of song lyrics.

Emotion: smile