A BRCA1 or BRCA2 mutation, if that's what's behind your father's prostate cancer, can be inherited from either parent and raise a daughter's risk of breast or ovarian cancer too. Not all prostate cancer is genetic, so this really depends on what testing on his side actually showed.
Next Steps
Check with your father's treating doctor whether his cancer was linked to a BRCA or similar gene mutation. If it was, a genetic counsellor can guide whether testing makes sense for you as well.
Health Tips
Having this family history doesn't mean cancer is certain for you, so please avoid assuming a diagnosis before proper evaluation.