My ex is taking me to court over some child custody matters, I have never stopped him seeing DD, he is very inconsistent and blames me for being inconsistent, let me add he walked on on us when I was pregnant and didn't want t to be a dad, he was not present at birth and he is not on the birth certificate, DD is now one and he has seen her about 7 times all in all, he didn't come into her life until she was we 5 months and that was even on and off and very inconsistent, her also wants over night stays, he and his family are basically strangers to DD, I don't get along with him, he is very narcissistic and young and he can not look after DD on his own he needs his mum and he has even told me this he used to see DD with me present but as of recent I allowed her to go with him and his mum, he can't change a nappy so apparently he needs support but now wants to take me to court for maybe over night access and to see her consistently, he works different shifts so wouldn't be able to do weekends or anything, he has never been helpful in DDs life, and let me add he lives two hours away, where do I stand in any of this and what will he gain and what type of access will he get, should I get a solicitor, I know it is expensive, how does court for child custody work?