It's an analogue of quinine, which tonic water nowadays may contain varying (quite small) amounts of, depending on brand etc.
G&Ts almost certainly won't have any effect on your susceptibility to infection nor your prognosis once infected. But they might help with (or make worse?) the anxiety associated with the panic.