Male flowers usually open first, but sometimes you'll get an early female. If there are no males flowers open at the time then that fruit is simply not going to set, it'll turn yellow and fall off the vine. Don't worry, the plant will make many more.