It may be that when you downloaded firefox you saved it to the desk top and when you deleted the desktop icon you unintentionally deleted the application as well. Download it to Applications. Once you have downloaded right click on it and make an alias which you can drag to the desktop or the dock.
__________________
|