If you got married, the child can be attributed to the husband in order to hide the sin And Allah knows best