It depends on what you're looking for. If you want the heat, leave them raw. If you want to bring out sweetness, cook them. Jalapeños are often used in both cooked and raw dishes.