It is generally recommended to stay in your first job for at least 1-2 years before considering a move to another company. This shows commitment and dedication to your work. However, it is also important to consider factors such as career growth, work environment, and job satisfaction when deciding whether to stay or leave. HR may view frequent job changes as a red flag, so it is important to weigh the pros and cons before making a decision.