When someone is in the hospital and has trouble getting up out of bed fast enough to use the restroom, it is fairly standard for them to have a catheter put into their body. This is a good way for medical staff to be able to keep track of urine output and to watch for any changes. Although catheters can be good in some cases, they are not a good long term solution.
For someone who has to be in bed for a long time without being able to get up easily to use the bathroom, there are other types of urinary devices that can be used. Some people would use a portable urinal or a sheath urinal that can be used by men who have trouble getting to the bathroom quickly. These are better solutions since they are less likely to cause problems.
Catheters on the other hand can lead to nasty infections and can cause a lot of discomfort as well. It is better to look for other possibilities if it is at all possible to find anything else that you can use. Long term, different types of urinary devices are a whole lot more helpful than these catheters are.