What is the meaning of [In For a Penny, In for a Pound]

Committed to something even though the risks are increasing