DNA is negatively charged , positively charged proteins , hold it in places, in large loops (in a region termed as nucleiod)
Detailed Answer :
In prokaryotic cell, the DNA is not scattered throughout the cell but present in the form of a membrane less structure called nucleoid.
The prokaryotic cells uses a specific mechanism to pack the genetic material tightly into this region. The prokaryotic cello do take up a measure against this by folding the fibres and forming genophore.