You may need to take time off work or study until you can concentrate better. Most people need a day or two off work but are back full time in less than 2 weeks.
How much time you need off work or study will depend on the type of job you do.
See your doctor and let your employer or teachers know if you are having problems at work or with study.
You may need to return to study or work gradually.