Hand relieving

So I woke up to my nipple like swollen and hurting. I grabbed it to make sure there wasn’t a cut or something and milk come shooting out and I had to hand relieve it. I’m 33 weeks, is this okay to do? The pain was so bad I couldn’t have a bra or shirt on it. It’s now still sore but feels a lot better. It basically looked like it was fully of milk(this is my 3rd pregnancy and my other two were breastfeed) is this normal