It sounds like your foreskin's pretty tight, and trying to pull it back when it doesn't want to is not good. There are ways for you to "fix" your foreskin before seeing a doctor, so it doesn't hurt when you retract your foreskin further back (and so it won't get stuck). And if you don't want to get circumcised, there are plenty of alternatives.
The first thing you should try are called stretching exercises. In one stretching exercise, you basically "hooks" one finger on either side of the foreskin and pull in opposite directions as if you're trying to increase the diameter of your foreskin's opening. Stretch and hold the foreskin for 10-20 seconds, then relax for 5-10 seconds, and then repeat for 10-20 minutes every day for maybe a month or so. It's best to do these exercises after a bath/shower when the skin's most flexible. It's important to be diligent about this and do it every day, but don't stretch too hard such that you rip or causes tears in your foreskin, as that'll scar up and make things worse in the long-run. See links 1 and 2 for good detailed instructions on what to do.
If after 3 months and you see little/no progress, then it's a good idea for you to ask your doctor for a prescription cream that helps loosen the foreskin (link 3). If you combine the prescribed cream with the stretching exercises above, the whole process will be quicker and easier.
In almost all cases of a tight foreskin the above treatments are all that's necessary. So you can ignore any suggestions or recommendations to get circumcised, as that's just not necessary. Yes, a dorsal slit is different than getting circumcised because it just cuts your foreskin along the top, but it kind of looks bad. Worse comes to worst, there is an alternative surgery that removes little/no foreskin, is cheaper, is less painful, and has a quicker recovery time (link 4). However, not all doctors know or are skilled in this procedure, so it's important to find a doctor who's both willing and experienced in doing them.
See the remaining links for more useful info.