The swollen glands in the neck could be various infections in the respiratory system ex: tuberculosis
. All STD's don't cause swollen glands. If there are no symptoms like discharge/rash/ulcer etc in the genital and inguinal region, no need to panic. Most of the STD's present with symptoms in the genital region first. Also you using protection during contact lowers the possibility of an STD. Wish you good health.