if it is photoshop you must change the workspace to painting. tick the shape dynamics box
and look under the size jitter slider. make sure the control is made to pen pressure. then fing opacity jitter and make sure the control is pen pressure. hope it works.