This looks like an old Nikon series E AI-s lens, you threw us off by mentioning that it was an AF version earlier:
It came with a a Nikon 50mm f/1.8D AF Nikkor Lens
Unfortunately, being an old AI-s lens, you won't get any metering functionality, or any automatic focusing, but that's to be expected. Without metering, you'll have to either use an external meter and enter the data into the camera, or you'll have to guess exposure. For focusing, you'll obviously have to rotate the focusing ring to focus every time, which can be a bit difficult at first, but it becomes easier after a bit of time. The focus assist feature in the VF (the little green dot) should help you know when you have the perfect focus, which can sometimes be quite a handy feature.
If you want the ability to meter with this lens, you'll have to upgrade to a D7000 or a better model, which allows you to meter with AI and AI-s glass, as it's able to detect the lens' coupling ridge, therefor it can detect the lens' aperture and be able to meter correctly. The D90 can't identify this ridge, which is why it can't meter. You're out of luck for focusing, no matter what body you mount the lens onto it will always be manual focus. To use the lens, you'll need to keep it in manual (marked as "M" on the camera) all the time.
For the ability to be able to focus or meter without buying a new body, look into a newer lens such as the excellent and cheap 50mm f/1.8 AF, which offers the same aperture as your current lens, but you'll be able to meter and auto focus. You could also take a look at one of the newer 50mm f/1.8 models, such as the 50mm f/1.8 AF-S, or even the 35mm f/1.8 AF-S which would give a slightly wider field of view that would be better for general photography.