You need to stress the correct vowel; i.e., speak slightly louder, to pronounce Spanish correctly.
These stresses are complicate for fhe beginner, but you will become proficient at using these stresses if you practice speaking in Spanish.
Listening to native speakers, and immitating them is a wokable strategy.
If you eant to know the rules, here are some resources…
A Complete Guide to Written Spanish Accent Marks in Spanish
Learn Spanish – from LingoLex
Rules for Stress