The petitioner pays the Court fees to start proceedings but the Court can make the other side pay all or some proportion if they are at fault.
If you earn low wages and have not much savings legal aid may be available. If so the Court fees are likely free and the solicitors fees are much less.
Whether you H can claim any money from you depends on his/your financial needs and how much you earn. Why not get free advice fro CAB legal clinic near you...solicitors like me often give up their time to assist -or why not contact a solicitor who offers 1 hour free advice..make a list of questions before you go - oh and speak quickly!!!