Left or right side

Is it true you have to sleep only on your right side ? Especially in your third trimester? I just can’t stay asleep on one side all night . I’m 31 weeks on Monday