how do i move forward based on where i'm looking

how do i move forward based on where i’m looking using the “w” key ?
using UnityEngine;

public class Player1Movement : MonoBehaviour
{
public Transform tf;
public Rigidbody rb;
public float ForwardForce = 700;

public float SideWaysForce = 700;

// Update is called once per frame
void Update()
{
   
    if (Input.GetKey("w"))
    {
        
        rb.AddForce(0, 0, ForwardForce * Time.deltaTime);
    }
    if (Input.GetKey("s"))
    {
        rb.AddForce(0, 0, -ForwardForce * Time.deltaTime);
    }
    
    
    
    
}

}

You can get the forward vector of the object you want to move, which is aligned with the blue axis inside the editor, and multiply it with a speed value.

float moveSpeed = 10f;
Vector3 ForwardForce = transform.forward * moveSpeed * Time.deltaTime;

rb.AddForce(ForwardForce);