Sleeping terrible?!

When did you first start using a pregnancy pillow or change your sleep habits? I'm 17 weeks and bout a pillow today even though I'm not even  showing yet. After falling asleep on my stomach last night and waking up with the worst stomach ache ever, I figured it's time.