Free advice is worth exactly what you pay for it.
If you hamstring is “tight as hell” then obviously you shouldn’t do much with it. Personally I use the foam roller after exercise, but I don’t exercise when muscles are tight as hell. I gently stretch them first, until I feel like I can do some work without breaking something.