Any condition which causes sleepiness, poor concentration or impaired vigilance needs to be controlled before driving. The DVLA have published guidance related to obstructive sleep apnoea and excessive daytime sleepiness:
View/download the DVLA SLEEPINESS AND DRIVING GUIDANCE.
At Sleep Doctor we strive to ensure you can drive safely even if you have a sleep problem.