How can you tell if you have a strain, sprain, sore, injury, or bone damage?

See a doctor. This is something that takes and exam and evaluation to determine the cause.
After an exam. You need an exam, xray to make sure the bones are not injured, and after testing the range of movements by that area you can have an idea about strain, and injury, pain is the indicator of the state of soreness and strain.