I've had this situation and basically just had to throw out stuff that was written because its completely terrible/wrong. Either start again or just give up.