Im making an fps and im making a rocket launcher and for some reason when I instantiate the rocket the model is backwards

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class RocketLauncher : MonoBehaviour
{

    public Rigidbody rocketPrefab;
    public Transform barrelEnd;

    // Start is called before the first frame update
    void Start()
    {
        
    }

    // Update is called once per frame
    void Update()
    {
        if (Input.GetButtonDown("Fire1")) {

            Shoot();

        }
    }

    void Shoot() {
        Rigidbody rocketInstance;
        rocketInstance = Instantiate(rocketPrefab, barrelEnd.position, barrelEnd.rotation) as Rigidbody;
        rocketInstance.AddForce(barrelEnd.forward * 1000);

    }
}

Hello. This is not a big problem…

Then, why not just change the prefab mesh?

Or when instantiating, change its rotation.

You have made sure that the rocket mesh has the right rotation in the prefab? Facing the positive direction of Z axis (blue arrow in the scene editor).