Certain woods such as pine or fir will have a tendency to blotch when you stain them. Some wood workers use a gel stain which seems to be less of a problem. The other way is to brush on a thinned coat of wood sealer ( really a dewaxed shellac), then stain. Before you do any staining and finishing, do some test pieces first. What you did, still looks just fine.