This will probably sound stupid, but it has worked for me - eating cheese before bed.

I know this is an old wives tale, but I think there is truth to it. I think the reason for this is that your body finds digesting cheese difficult, and this gets reflected in your dreams somehow. In fact, with that theory in mind, you just try eating anything that is difficult to for your digestive system to process.