When you have a stomach ache, you should sleep on your left side to avoid heartburn and allow gravity to help move substances through your colon.