How to maximize true positives with zero false positives

I am training a 1d convnet for binary classification . I would like to maximize the true positive rate but fix the false positive rate to 0. How can one do that? I am not sure how to specify this loss function.