Indoor gardening, fear of Gnats

Hi! I'm looking to bring some plants in my dorm, and try and grow some myself. I have a roommate and I don't want to A: Get Fungus Gnats in general. B: Annoy her with accidentally bringing Fungus Gnats into the dorm.

So, I am searching for advice, on how to prevent them! Because it is a small room, with only two beds. Thank you for any advice!