Whenever you are thirsty, surely. Don't drink too much if you can help it within 2 hours of bed otherwise you'll be going to the loo all night. Of course this assumes that you don't have anything wrong with you, you don't exactly put a lot of context into your question!