Sub Articulo 34.0

how do I modify the caption command in such a way that it is placed
beside the figure if the figure width is below a certain value?