The easiest way to get a Visa for Uganda is to buy one at the airport on arrival.

At the current time of writing (Mar 2018) the Visa cost is 50 USD.

Another option is to apply for visa online. The online application can be found at:

https://visas.immigration.go.ug/