A mother automatically has parental responsibility for her child from birth.
A father usually has parental responsibility if he’s either: married to the child’s mother or listed on the birth certificate (after a certain date, depending on which part of the UK the child was born in).
See here for information about parental responsibility:
https://www.gov.uk/parental-rights-responsibilities/who-has-parental-responsibility