The best way out is to have a strong vice-presidential pick, with the understanding of a strong probability of a succession. This should not be too difficult, the Republican field is actually very strong, with a lot of genuine presidential material.
I’d rather the Veep be someone like Steele, Hunter (unlikely,) Mark Sanford, or Jim DeMint...but it might well be Mike Huckabee. Which is tolerable, but not anything to be excited about!