help pls I’m worried

Ch

Recently I’ve noticed that every time I shave or put on deodorant on my armpits, under the skin lumps appear. However, go help calm it I didn’t put any deodorant on and they went away. I didn’t put any on for a while and just constantly washed my armpits with soap. The other day I put deodorant on again and the lumps have appeared. My mum said it could be the deodorant I’m using or I either have lymph nodes which are swelling. Does anyone know what could be the problem? Just concerned as the bumps are sore and I have had cancer before.