If it has male and felmale parts the male parts will open and release pollen and the plant will self pollinate and produce seeds.
You dont want male plants at all unless you want to breed.
If you have other plants it will pollenate them too.
You also have the danger of pollen staying in your grow tent/room and doing the same for your next grow