Birth control

So if your on birth control and you have sex when your fertile is there a high risk of you getting pregnant