Assuming you are talking about Glowlight Danio, they don't get pregnant, they are an egg-scatterer species. She will become gravid (ie full of unfertlilised eggs). At this point, she will scatter the eggs, and the male will fertilise them within a few hours. Generally, they will then eat the eggs.