Hi Michelle,
I second what Agatha says that it's better to get up and do stuff rather than tossing turning in bed.
I know it sounds obvious but I stopped waking up in the middle of the night when I switched to decaf coffee, because I am suffering badly from anxiety. The anxiety causes me to waken very early (anything from 4am onwards) but until then I usually get an unbroken sleep now.
I did read somewhere that having one continuous sleep through the night is a relatively new thing and apparently it used to be very common for people to get up for an hour or so during the night for a cup of tea, a chat or whatever. That made me feel better when I was doing it a lot!
X