Here you will find some examples of how to form the passive depending on the tense.
|Simple Present||Peter builds a house.||A house is built by Peter.|
|Simple Past||Peter built a house.||A house was built by Peter.|
|Present Perfect||Peter has built a house.||A house has been built by Peter.|
|Past Perfect||Peter had built a house.||A house had been built by Peter.|
|will-future||Peter will build a house.||A house will be built by Peter.|
|going to-future||Peter is going to build a house in summer.||A house is going to be built in summer by Peter.|