It would probably be best to post a sketch of want you are trying to model and someone will show you the easiest way to create it. Booleans are very poor in Blender.
I’m guessing that you are extruding a closed curve shape and winding up with a tube with open ends rather than a cylinder which is why the boolean operation won’t work.