Except as provided under this section and in section 6311 (relating to guardian ad litem for child in court proceedings), a party is entitled to representation by legal counsel at all stages of any proceedings under this chapter and if he is without financial resources or otherwise unable to employ counsel, to have the court provide counsel for him.
If a party other than a child appears at a hearing without counsel the court shall ascertain whether he knows of his right thereto and to be provided with counsel by the court if applicable. The court may continue the proceeding to enable a party to obtain counsel. Except as provided under section 6337.1 (relating to right to counsel for children in dependency and delinquency proceedings), counsel must be provided for a child . If the interests of two or more parties may conflict, separate counsel shall be provided for each of them.
42 Pa.C.S. § 6337