Exercises should be uncomfortable, but not painful. If you feel pain during exercise, slow down or stop. Pain is the body's way of protecting itself from further damage.
You may need to correct your form or perhaps, you're lifting more or stretching more than your body is ready for.
Remember, preventing injuries is better than fixing it!
Have a safe and fun weekend. Happy Friday!