It is better to have sex before going to bed, it improves sleep quality