How can i change pinmode during void loop?

i have this code:

int SCL = 5;

void setup() {
pinMode(SCL, OUTPUT);

void loop() {
digitalWrite (SDA_OUT,1);
//How can i change now the pin 5 so i can read from that? i think it doesnt work pinMode(SDA, INPUT); on this section.

edit: Forget it. I solved my problem