When was this song released. or... When did this song get released
The second sentence is incorrect, these are a couple of examples that might be better.
If you are unsure that what you are doing is correct, ask someone.
If you think you are doing something wrong, just ask someone.