Bullet frozen and not moving

I’m making a top-down shooter and I was trying to code in how the bullet would add force to it when it is spawned in but when I tested it out the bullet would be frozen in the air unmoving. Here the whole script:

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

public class FriendlyBulletSRP : MonoBehaviour
{
    public float speed;
    public GameObject destroyEffect;
    public float lifetime;
    public Rigidbody2D rb;
    public 
    // Start is called before the first frame update
    private void Start()
    {
        Invoke("DestroyBullet", lifetime);
    }

    // Update is called once per frame
    public void Update()
    {
        rb.AddForce(transform.forward * speed);
    }
    void DestroyBullet()
    {
        Instantiate(destroyEffect, transform.position, Quaternion.identity);
        Destroy(gameObject);
    }
}

Any idea on how I can fix this?

I fixed it! Instead of using transform.forward I used transform.right and it worked!