You have 5 seconds from the time the referee gives you the ball to use it.
This could for example be when :
- You have been awarded a Free Throw
- Inbounding the ball
You cannot as any player, hold the ball for more than 5 seconds without passing the ball or bouncing it.
Any violation of the 5 Second rule will result in a turn over of the ball.