Unfortunately, it will likely require hard work on your part rather than relying on pills. One thing that's worked for me is therapy focusing on Acceptance and Commitment Therapy (ACT). Essentially, you identify your goals and values, and then reframe your thinking to question whether what you're doing aligns with those goals and values.
Depending on what you struggle with, try batching tasks. I used to have a long list of things to remember to do regularly (wash up, clear the bench, put the kids' toys away, etc.), and I would often ignore it because it became annoying. All I did was change it to a plain note that I can look at and see if the task was completed, and eventually those tasks became a habit.
I don't know if they have a similar thing where you are, but we have the Royal Flying Doctor service in Australia. Essentially, it's someone who flies a doctor into remote locations when they're hours away from a hospital, or an ambulance won't be able to make it.
Depending on what you struggle with, try batching tasks. I used to have a long list of things to remember to do regularly (wash up, clear the bench, put the kids' toys away, etc.), and I would often ignore it because it became annoying. All I did was change it to a plain note that I can look at and see if the task was completed, and eventually those tasks became a habit.