Restless arms/legs.

Has anyone been prescribed anything by their OBYGN to help with restless legs/arms? I've had this almost every night since Sunday. I sleep for an 1-3 then wake up with it.