How to test membership with paypal sandbox

Hi,

Can someone tell me the step by step instructions to test the memberships with Paypal Sandbox?

I tried testing, but got stuck on paypal sandbox website and never got redirected back to the website.

Is there some tutorial or case study I can read?

Thanks in advance.