Night sweats

hi, ive been on sertraline for about 9 months for anxiety, my mood is so much better but the night sweats are a joke! every night is hell ! ive stopped taking them for 5 days but the sweats are still the same, im now worried its something more serious! does anyone know how long they will last after stopping the medication ?

they just kind of dissapear after a while its a commin side affect