How long until I feel better...?

So I have a pretty bad muscle/tendon strain in my shoulder up into my neck. Seriously couldn’t even turn my head the other day without excruciating pain. Doctor just said to rest and ice it and take ibuprofen and only time will heal it. But I’m just so exhausted from this pain! I can’t really rest because I’m a mom and don’t have any friends or family near me (I’m in the military) and when they’re at school I’m at work. I can’t find a comfortable sleeping position so I’m up all night. Anyone in the medical field or any athletes...have you dealt with this before? How much longer am I looking at? 😭