welcome to just answer
are you present online?
It seems that your shoulder muscles have gone into a spasm
if your pain has worsened over the last 24 hours despite taking painkillers and doing warm compresses, then you might need to consult your doctor
taking muscle relaxants along with the normal pain killers should help your pain and stiffness
also you might need some investigations to rule out possibility of any spinal problemand nerve compression