How do i get to Queen Elizabeth National Park or Kibale National Park?

You could use the services of a tour company which will organise your travel by road or air.
Alternatively, you can use public transport (buses) which ply the route from Kampala to Kasese via Mubende (430 kilometers). From Kasese you could hire a special hire car to Kyambura gorge (70 kilometers) across the Kazinga Channel where you will be tracking the chimpanzees (In Queen Elizabeth National Park). The other route to Queen Elizabeth National Park could be by bus from Kampala via Mbarara to Bushenyi town (480 kilometers). From bushenyi, you could hire a special hire car to Kyambura gorge (50 kilometers) for tracking.
For Kibale National Park, you could use public bus services that move direct from Kampala via Mubende to Fort Portal town (290 kilometers). From Fort Portal, you could hire a private car to Kanyanchu in the park for further arrangements.