As some others have mentioned, the title vs the text confuse a little.
The main difficulty in the thought process is what is meant by "my job". Of course, it can't literally be just my job. It would have to be a class of jobs. What class? I do a little supervision, a little data analysis, a little CRUD app maintenance/development. The hardest part of my job is translating customer requests/requirements into action without adverse side effects. So we can imagine a NLP+AI type bot could potentially solve that problem.
So in that case, there's now globally little-to-no demand for intermediate level programming and analysis. So I can't just switch to another, similar job.
At that point, what happens depends strongly on the environment. My wife is now in training to be a nurse. Has she completed that training and is so working when the automation event occurs? If so and if her job is unimpacted, then we simply downsize our lifestyle to accommodate the reduced income.
Does basic income exist at the point when the automation event occurs? If so, that's a fallback.
Have any new industries appeared as a result of new technology that don't exist today? If so, what kind of entry requirements are observed? What timeline would I estimate to attempt to retrain? Could it be done before the target industry itself is automated away?
As a final fallback, I'm lucky to have a supportive family in the area. I would describe my situation and offer to do their household chores in exchange for room and board.