1. A method of performing a random access procedure by a User Equipment (UE) in a wireless communication system, the method comprising:receiving information regarding a Physical Random Access Channel (PRACH) resource configuration;
transmitting, to a base station (BS), a random access preamble (RAP) based on at least one valid PRACH occasion among a plurality of PRACH occasions in a PRACH slot,
wherein the PRACH slot and the plurality of PRACH occasions are configured based on the PRACH resource configuration,
wherein at least one Synchronization Signal Block (SSB) can be mapped to the at least one valid PRACH occasion, among the plurality of PRACH occasions, and
wherein a PRACH occasion that is located after symbols for a last SSB is determined to be valid from among the plurality of PRACH occasions in the PRACH slot; and
receiving, from the BS, a Random Access Response (RAR) in response to the RAP.