I was where you are 2 years ago and my Dad broke it down to me like this, your first one is all about what it is you want, home protection or general use weapon, after the first one the order is up to you but common sense, as far as being a survival gun most on here will tell you and I would agree a .22lr
1. .22lr OR
2. handgun(9mm .380 or larger for personal/home protection)
3. Large rifle for hunting
4. Shotgun
5. Battle rifle/Assault rifle
This is what I have gone with, I went a little out of order, mainly because my dad gave us guns here and there. You will ask 10 different people and get 12 different opinions. Depending on your budget you are going to hear ruger 10/22, awesome gun, you can find much much cheaper .22 s out there, it's a fact, but you get what you pay for. Also being this is your first gun, getting a .22 is the cheapest ammo available you can practice more and hunt small game with it. Again you are going to hear a lot on here, do your homework read each post and decide, good luck.