How long do I need to rest for a hip effusion caused by a sports injury?

This is usually two to three weeks, and may be longer.