Since you mentioned three months, it's good to reflect if these changes were brought about anything in particular. Could be changes in lifestyle, work life, physical health, life events etc. Also assess any change in your sleeping environment etc. It's hard to give an answer without deeper assessment. Medications are usually the last resort and counselling can be beneficial in making little changes that go a long way.
Next Steps
Meet a psychologist for further assessment and therapy.