Hi,
Welcome to ehealthforum,
If your symptoms are due to anxiety, you would need special counseling and behavioral therapy to help you cope up along with anti-anxiety medication. If this is physiological and habitual, then avoiding tea/caffeine intake after 6pm in evening and avoiding excessive water intake before 2-3 hours of sleeping/getting into bed might help. For further clarification and assistance, visit your doctor/psychologist.
Take care.