yea sure you should consult the doctor esp.Endocrinologist most sweating problems might be due to endocrine disorder,like say diabetes and thyroids disorders..Othr cause might be consumption of alcohol, coffee or spicy food, before bedtime.
its better to know if there are any other associated symptoms,some other serious medical conditions like Lymphoma,Tuberculosis or kidney diseases also causes night sweats.So its better to see a doctor and treat accordingly.
you could also see this topic:
http://www.dermatalk.com/showthread.php?t=29