Both. What bullets do i get for the types above?
You're asking very basic questions. That's a good thing. What I would suggest is that you research first. Research sounds like a daunting task, but it isn't.
You need to know what a firearm is, what the components (individual pieces) are of it, how they work in conjunction, how to load, dismantle, clean a gun, the difference in guns (pistols, revolvers, shotguns, rifles) the different ammo, etc.
Fortunately this info is really easy to find, videos of it. YouTube. Honestly it's short shyt. You can find a 10-20 minute video in seconds. Longer if you want even more info.
After you get that initial information I would suggest checking locally for a training class. You'll get a lot of the same info but someone talking directly to you. Then you'll get range time with the aid of someone who knows what they are doing too.
Then you can make an informed decision.
We honestly can't tell you what to get. I have friends bigger than me and smaller than me that only use 9mm, and one that uses a .380 as well as some that only use .40 caliber. Everyone has their own brand and caliber preference.
Me. I'm literally like loc dog. I will get dressed then be like "should I rock the glock or the m&p? 9mm or .40? The compact (8 round)or the full sized (16 rounds)."
If you want I can find some links for you.
The knowledge is more important as the tool itself. To be honest I wouldn't recommend running out and grabbing a gun, just to have one in your possession. That's getting the cart before the horse. I understand time is limited but you'll be alright. The basics can be learned via Internet in a matter of hours, once you have that go ahead and get one.
If you feel like your going to make a quick or hasty decision with your purchase, shoot the he'll out of it, trade it in. That's what I did. I've bought guns, shot the shyt out of them, traded them for different brands and styles, shot them before I knew what I was comfortable with and now have my layout. You could keep renting and trying different guns but you won't know in one day, or even one week whats good for you. If you own one piece you can at least become proficient while still trying out others.