A mosquito net provides a physical barrier between you and the mosquitoes, so it is the most effective way to keep mosquitoes away while you sleep. It is also relatively inexpensive and easy to use.