Hot water bottle

How do you use a hot water bottle for cramps? Just fill it up and roll it on your body? Just a regular 20oz water bottle?