Peter had a vision about the sheet filled with animals. God told him to kill and eat. But Peter said he never ate anything unclean. This is what God said in return.
The voice spoke to him a second time, “Do not call anything impure that God has made clean.” Acts 10:15
After the vision God brought men to bring Peter to a Gentile house. While Peter was talking the Holy Spirit fell. And Peter rebuke himself for thinking that God favoritism, that salvation was only met for the Jews. -tsuLife Author
While Peter was still speaking these words, the Holy Spirit came on all who heard the message. The circumcised believers who had come with Peter were astonished that the gift of the Holy Spirit had been poured out even on Gentiles. For they heard them speaking in tongues and praising God. Then Peter said, “Surely no one can stand in the way of their being baptized with water. They have received the Holy Spirit just as we have.” So he ordered that they be baptized in the name of Jesus Christ. Then they asked Peter to stay with them for a few days. Acts 10:44-48