Your details don't make much sense to me, you should try elaborating so that we may be able to assist you better.
If you do indeed have phimosis, you should consult a doctor to make sure about the severity. However, generally, if you can pull back your foreskin a good bit and expose some of the glands, you can fix it through foreskin stretches and steroid cream (google foreskin stretches, and no steroid cream doesn't really mean the same sort of steroids that'll make your balls shrink).
If you have severe phimosis, meaning that you can't pull the foreskin back at all, and causes pain during sex and/or masturbation, you should consult a doctor about your options and consider circumcision.
Best of Luck
Miko