Depends on the jellyfish and whether or not you've had an allergic reaction. If it's itching and swelling, get a headache, or have trouble focusing, that's when you should go to the doctor.
Otherwise, it'll go away on it's own. Just remove the tentacle stingers with tweezers if you can.