The best way to sleep on a plane is to make yourself comfortable. Bring a neck pillow and a blanket to help you get into a comfortable position. Wear comfortable clothes and try to get the window seat so that you can lean against the window. Also, try to drink plenty of water throughout the flight and avoid caffeine and alcohol. Finally, make sure your seat is reclined enough to get a good rest.