The cam cap is part of the valve cover gasket.
If the cam cap is coming out or is leaking oil, then you need to replace the valve cover gasket set.
When you replace the valve cover set, follow the directions, it will show you how to place the gasket, where to apply sealant and what type of sealant to use.
Be sure to follow the proper bolt tightening sequence and bolt torque specifications.
Your Kia dealer can provide you with a new gasket and all of the information and supplies you will need.