Unless the top of the ladder extends at least three feet above the point of support, no ladder should be used to gain access to a roof. In a folded, leaning position, never use an A-frame ladder as an extension ladder.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.