Younger trees, like yours, often don't produce fruit, or fail to ripen them. Give it more time. Meanwhile, go light on the fertilizer, and make sure the tree gets plenty of sun.
In addition, some varieties don't self pollinate. Perhaps that is what's going on as well. Figs that nurseries sell to homeowners SHOULD be self fertile, but that's not guaranteed, so you should look it up, if you can find the variety name of your plant.