I bought a hp laptop 1 year ago and it came with windows 7 home basic already installed after that I installed windows 8 and now I again want to switch to my windows 7 I have product key. Now how can I get my windows 7 back

Also my laptop has a partition whose name is recovery , I think its something related to hp recovery or something can I get my windows 7 back with it